Loading...
 
Features / Usability

Features / Usability


Search Questions

posts: 130

Hello, turning to this great community of users once again.....thanks to the help of the community we have a thriving internal staff intranet based on tikiwiki at our library, and we have a working public library website based upon tikiwiki that we are still developing:
www.dclibrary.us

Two Questions regarding Search:

1)How can I put a search tool on a wiki page that will search a specific category? I couldnt find a wiki plugin, and I couldnt find specific instructions on a module. So, for example a search box on a wiki page that will search the category ReadALikes automatically without having to have the user choose the category of ReadAlikes...any suhc animal?

2)I am under the impression that TikiWiki has full text searching with operators (such as + and -, etc.)...I see that we have full text searching turned on, yet when I try to use it, it doesnt seem to work properly.....

For example, lets say I look for the specific word "Janet" by using the qoutes operator...we have a wiki page that has the word janet, but instead I get alot of not relevant pages...a clue is the following text I see in the results page at the top....Found ""janet"" in 28 pages .....notice the double qoutations around janet....any ideas, why isnt full text searching working....this is a linux server with mysql database....


posts: 130

Thanks for taking the time and responding....much appreciated!

On issue #2 I had taken a look at the docs, and notice discussion regarding full text and then the following text.....is the below not applicable in anyway then, if not, why is it even mentioned do you think?

"It is also possible to perform a boolean mode search (MySql4):

+ : A leading plus sign indicates that this word must be present in every object returned.

- : A leading minus sign indicates that this word must not be present in any row returned.
By default (when neither plus nor minus is specified) the word is optional, but the object that contain it will be rated higher.
< > : These two operators are used to change a word's contribution to the relevance value that is assigned to a row.
( ) : Parentheses are used to group words into subexpressions.
~ : A leading tilde acts as a negation operator, causing the word's contribution to the object relevance to be negative. It's useful for marking noise words. An object that contains such a word will be rated lower than others, but will not be excluded altogether, as it would be with the - operator.

  • : An asterisk is the truncation operator. Unlike the other operators, it should be appended to the word, not prepended.

" : The phrase, that is enclosed in double quotes ", matches only objects that contain this phrase literally, as it was typed.


posts: 130
I am not quite sure it is working though....I am trying to research this more and will post here if I find anything out....would love if someone knew something definitively about this could post some info....