Page 1 of 1
Searching for '_' results in no results?
PostPosted:Wed May 01, 2013 6:28 am
by Amit86
Hello everyone
I have a few documents with alot of functions inside them that I'd like to search globally usnig the openkm search option
The problem is that when im adding an _ (which is part of the function, for example: function_a) I keep getting no result
Is there any way around this?
Thanks,
Amit
Re: Searching for '_' results in no results?
PostPosted:Wed May 01, 2013 6:41 am
by luke
Try something like this
function*
Re: Searching for '_' results in no results?
PostPosted:Wed May 01, 2013 6:58 am
by Amit86
I'd like to be able to look for _ since i have many functions starting with the word function
Is that possible?
Re: Searching for '_' results in no results?
PostPosted:Thu May 02, 2013 9:35 pm
by jllort
The problem could be the lucene tokenizer, but I think is not the case. In you case the query should be *_* because the character _ is in the middle of the funtion text. Can you try with content and with document name to see if one get results and other not ?
Re: Searching for '_' results in no results?
PostPosted:Sun May 05, 2013 5:22 am
by Amit86
I'm getting this error when looking for *_*
Re: Searching for '_' results in no results?
PostPosted:Mon May 06, 2013 11:12 am
by pavila
Whe looking for "*_*" where? in the content field? Attach an screenshot of the search form.