Solr schema.xml query analyser

2014-07-21 Thread prashantc88
0 down vote favorite I am a complete beginner to Solr and need some help. My task is to provide a match when the search term contains the indexed field. For example: If query= foo bar and textExactMatch= foo, I should not get a MATCH If query= foo bar and textExactMatch= foo

Re: Solr schema.xml query analyser

2014-07-21 Thread prashantc88
Thanks Jack for the reply. I did not mention the query time analyzer in my post because I wasn't sure what should be put there. With regards to your reply, If I put the query term in quotes, would I get a match for the following: Indexed field value: foo bar Query term: foo bar xyz/xyz foo bar

Match query string within indexed field?

2014-07-18 Thread prashantc88
Hi, My requirement is to give a match whenever a string is found within the indexed data of a field irrespective of where it is found. For example, if I have a field which is indexed with the data abc. Now any of the following query string must give a match: xyzabc,xyabc, abcxyz .. I am using

Re: Match query string within indexed field?

2014-07-18 Thread prashantc88
Hi, Thanks for the reply. Is there a better way to do it if the scenario is the following: Indexed values: abc def Query String:xy abc def z So basically the query string has to match all the words present in the indexed data to give a MATCH. -- View this message in context:

Re: Usage of enablePositionIncrements in Stop filter

2014-07-15 Thread prashantc88
Guys, I found the explanation that i was looking for online. http://docs.lucidworks.com/display/lweug/Suppressing+Stop+Word+Indexing -- View this message in context: http://lucene.472066.n3.nabble.com/Usage-of-enablePositionIncrements-in-Stop-filter-tp4147321p4147324.html Sent from the Solr -

Usage of enablePositionIncrements in Stop filter

2014-07-15 Thread prashantc88
Hi, Could anyone please explain me the usage of enablePositionIncrements in StopFilterFactory. I have trying to search in on the forum as well as the internet, but I cannot understand it. It would be great if anyone could help me out with an example. Thanks -- View this message in context:

Re: Usage of enablePositionIncrements in Stop filter

2014-07-15 Thread prashantc88
Thanks Jack! -- View this message in context: http://lucene.472066.n3.nabble.com/Usage-of-enablePositionIncrements-in-Stop-filter-tp4147321p4147352.html Sent from the Solr - User mailing list archive at Nabble.com.