SID-02019: Problems with twiki search function.
Status: |
Answered |
TWiki version: |
5.0.1 |
Perl version: |
v5.8.8 |
Category: |
CategoryAPI |
Server OS: |
Linux version 2.6.18-194.11.4.el5 Red Hat 4.1.2-48 |
Last update: |
8 years ago |
Search doesn't find any results as before.
Now and then the results are getting disappeared and when i tried to restart the server the results are coming back.(Time stamp is 15 days)
The below is the code which i used for search result.
DRAFT: -
%SEARCH{ "Document Status.*?value="\DRAFT\"" scope="text" type="regex" nosearch="on" nototal="on" order="formfield(Wiki Topic)" format="| $formfield(Wiki Topic) |
$topic | $formfield(Document content owner) | $formfield(Document Status) |" }%
Approval:-
%SEARCH{ "Document Status.*?value="\FOR REVIEW\"" scope="text" type="regex" nosearch="on" nototal="on" order="formfield(Wiki Topic)" format="| $formfield(Wiki Topic) |
$topic | $formfield(Document content owner) | $formfield(Document Status) |" }%
Please Help.
--
Sriharsha Panja - 2015-02-06
Discussion and Answer
Hi,
Any update on the above issue?
--
Sriharsha Panja - 2015-02-26
Does normal search and
WebChanges work?
In any case if you regex search for form fields do a
"Document Status.*value=\"DRAFT\""
, not a
"Document Status.*?value="\DRAFT\""
.
--
Peter Thoeny - 2015-02-27
Or use a
QuerySearch.
--
Peter Thoeny - 2015-02-27
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
Peter Thoeny - 2015-12-03
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.