SID-01575: Search not working Windows Perl RCS Lite setup
| Status: |
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
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.