Tags:
create new tag
view all tags

SID-01575: Search not working Windows Perl RCS Lite setup

Status: Answered Answered TWiki version: 4.3.2 Perl version: 5.8.9
Category: CategoryInstallation Server OS: Windows Last update: 13 years ago

I am moving servers and upgrading a TWiki installation (from 4.3 to 5.2)

The search function is not working on my new server.

This originally happened in 5.2 so I then installed a 4.3 version on the new server and the issue still occurs. (So its environment around perl/egrep/fgrep not a Twiki defect)

I have followed thewindows installation guide (TWiki04x02WindowsInstallationGuide) the only thing I know that is different is the path for perl is folder deeper (I put it under "Web" rather than the root directory) and I am not using apache/ldap logon with the new install.

I have attached both config files, I don't remember doing anything special when I setup the first server (a few years ago tho). I have searched both servers and neither contains a version grep.

I'm just at a complete loss - the log files don't give me any useful information I am happy to turn more logging on if I knew how - or chase it further (again if I knew how). I'm an experienced developer - but a bit of Twiki/perl n00b - the previous install just worked.

Any help or further things to investigate at much appreciated.

-- ChrisKirk - 2012-11-02

Discussion and Answer

OK, 3 or so days of frustration later...

Setting the store settings to RCSLite (PurePerl) does not change the search algorithm used (also in the store settings - but a little hidden as an "expert" setting).

So if you want to use a TWiki with a PurePerl implementation you need to also set the SearchAlgorithm to PurePerl

I can't find any linking of these properties, but I'd like to suggest at least another line of text to the StoreImpl property pointing out SearchAlgorithm may also need to change if you want TWiki as a PurePerl implementation.

Cheers.

C.

-- ChrisKirk - 2012-11-05

I am sorry Chris the configuration gave you grief. I enhanced the doc of configure as follows for the {StoreImpl} section:

NOTE: If you select RcsLite it is recommended to set {RCS}{SearchAlgorithm} expert setting to PurePerl.

-- PeterThoeny - 2012-11-21

Peter,

Which of the following would be correct "...to set {RCS}{SearchAlgorithm} expert setting to PurePerl." ?

- $TWiki::cfg{RCS}{SearchAlgorithm} = 'TWiki::Store::SearchAlgorithms::PurePerl'; 
- $TWiki::cfg{RCS}{SearchAlgorithm} = 'PurePerl'; 
- something else?

-- JohnElrick - 2012-12-18

The full class name, 'TWiki::Store::SearchAlgorithms::PurePerl'

-- PeterThoeny - 2012-12-18

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Search not working Windows Perl RCS Lite setup
SupportCategory CategoryInstallation
TWiki version 4.3.2
Server OS Windows
Web server apache 2.2
Perl version 5.8.9
Browser & version N/A
Topic attachments
I Attachment History Action Size Date Who Comment
HTMLhtm not_work_configure.htm r1 manage 181.4 K 2012-11-02 - 06:06 UnknownUser  
HTMLhtm working_configure.htm r1 manage 180.7 K 2012-11-02 - 06:06 UnknownUser  
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2012-12-18 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.