Question
We have been using TWiki for more than 6 months now. We have 6 form templates and around 500 forms filled out. We query these forms and display their results using
FormattedSearch.
All of a sudden, the SEARCH stopped working. There are no results returned for any form data. Last week, we managed to get data displayed on a page "Refresh" at times. Now, "Refresh" also does not work.
Is there a limit to the number of forms that TWiki metadata can support? Has anyone else experienced this problem?
Environment
--
TWikiGuest - 10 Oct 2005
Answer
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.
What version of TWiki are you running? What OS is the server running on? Quite older versions of TWiki had a limit on the number of topics that could be searched in a web. This limit is based on the shell command lenght limitation of the OS when search calls the external grep.
See
ArgumentListTooLong and
Codev.InlineSearchArgListTooLong
--
PeterThoeny - 10 Oct 2005
Peter,
Thanks for your reply!
It could very well be due to the fact that we have an older version running. I do not have admin access to the server.I will check with the admin group and update this topic with what I find.
--
TWikiGuest - 10 Oct 2005
just look at your
TWiki.WebHome; it should have version information at the bottom of the page.
--
WillNorris - 11 Oct 2005
Will,
Our installation does not have this information on the
WebHome page. But I looked in the
TWikiDocumentation topic and found the WIKIVERSION to be 01 Feb 2003
I guess we will need an upgrade to resolve this issue.
Thanks!
--
TWikiGuest - 11 Oct 2005
Upgarde is ceratinly the best option. We will soon release
DakarRelease with many new features.
I think it could do a temporary workaround without and upgrade. Create a wrapper script for grep; set TWiki.cfg to point to the wrapper; the wrapper uses xargs that calls grep.
Or you could hand-patch lib/TWiki/Search.pm based on the one in
TWikiRelease04Sep2004. Look at line 212 ff for a fix of
ArgumentListIsTooLongForSearch.
--
PeterThoeny - 11 Oct 2005