I configured Examine Search to search for a specific searchstring in a few fields but it seems like I only get results for searchterms that exists in the nodeName and not for searchterms that exists in one of the UserFields I defined.
if you have not already done so can you download luke for lucene http://www.getopt.org/luke/ then in your search code write out somewhere criteria.ToString() that will give you the query that is being generated by examine. next try and run that query in luke and see what you get, also have a sniff around the index using luke just to see you have data with fields specified. You either have issue with index or the query being generated is not what you think.
don't get ExamineSearch to work properly
I configured Examine Search to search for a specific searchstring in a few fields but it seems like I only get results for searchterms that exists in the nodeName and not for searchterms that exists in one of the UserFields I defined.
Am I missing something?
The ExamineIndex I use:
The ExamineSettings I use:
and my search:
bram,
if you have not already done so can you download luke for lucene http://www.getopt.org/luke/ then in your search code write out somewhere criteria.ToString() that will give you the query that is being generated by examine. next try and run that query in luke and see what you get, also have a sniff around the index using luke just to see you have data with fields specified. You either have issue with index or the query being generated is not what you think.
Regards
Ismail
that's the program I was looking for,
I knew Tim told about a program like that but couldn't remember the name.
I'll try that first.
thx
seems like my config is ok but my query isn't.
changing my ISeachCriteria to a GroupedOr seems to solve al large part of the problem
is working on a reply...