Re: Exact matching in Solr 3.6.1

2013-04-25 Thread Sandeep Mestry
ncies in your requirements, we won't > be able to make much progress. > > > -- Jack Krupansky > > -Original Message- From: vsl > Sent: Thursday, April 25, 2013 10:45 AM > > To: solr-user@lucene.apache.org > Subject: Re: Exact matching in Solr 3.6.1 > >

Re: Exact matching in Solr 3.6.1

2013-04-25 Thread Jack Krupansky
sufficient. But until you clarify the inconsistencies in your requirements, we won't be able to make much progress. -- Jack Krupansky -Original Message- From: vsl Sent: Thursday, April 25, 2013 10:45 AM To: solr-user@lucene.apache.org Subject: Re: Exact matching in Solr 3.6.1

Re: Exact matching in Solr 3.6.1

2013-04-25 Thread vsl
Thanks for your reply but this solution does not fullfil my requirment because other documents (not exact matched) will be returned as well. -- View this message in context: http://lucene.472066.n3.nabble.com/Exact-matching-in-Solr-3-6-1-tp4058865p4058929.html Sent from the Solr - User mailing

Re: Exact matching in Solr 3.6.1

2013-04-25 Thread Majirus FANSI
Hi Pawel, If you are searching on any field of type "text_general" as defined in your schema, you are stuck with the porter stemmer. In fact in your setting solr is not aware of a term like "cats", but "cat". Thus no way to do exact match with "cats" in this case. What you can do is creating a new

Re: Exact matching in Solr 3.6.1

2013-04-25 Thread vsl
Exact matching is just one of my cases. Currently I perform search on field with given definition: This field definition fullfils all other requirmen

Re: Exact matching in Solr 3.6.1

2013-04-25 Thread Jack Krupansky
e- From: vsl Sent: Thursday, April 25, 2013 8:00 AM To: solr-user@lucene.apache.org Subject: Re: Exact matching in Solr 3.6.1 I will explain my case in the example below: We have three documents with given content: First document: london cats glenvilet Second document london cat glenvilet le

Re: Exact matching in Solr 3.6.1

2013-04-25 Thread vsl
I will explain my case in the example below: We have three documents with given content: First document: london cats glenvilet Second document london cat glenvilet leeds Third document london cat glenvilet Search term: "cats" AND London NOT Leeds Expected result: First document Current resu

Re: Exact matching in Solr 3.6.1

2013-04-25 Thread Sandeep Mestry
I think in that case, making a field String type is your option, however remember that it'd be case sensitive. Another approach is to create a case insensitive field type and doing searches on those fields only. Can you provide your fie

Re: Exact matching in Solr 3.6.1

2013-04-25 Thread Jack Krupansky
As indicated previously, yes, exact matching is possible in Solr. You, the developer, have full control over the exactness or inexactness of all queries. If any query is inexact in some way, it is solely due to decisions that you, the developer, have made. Generally speaking, inexactness, fuzz

Re: Exact matching in Solr 3.6.1

2013-04-25 Thread vsl
Thanks for your reply. I am using edismax as well. What I want to get is the exact match without other results that could be close to the given term. -- View this message in context: http://lucene.472066.n3.nabble.com/Exact-matching-in-Solr-3-6-1-tp4058865p4058876.html Sent from the Solr - User

Re: Exact matching in Solr 3.6.1

2013-04-25 Thread Sandeep Mestry
Hi Pawel, Not sure which parser you are using, I am using edismax and tried using the bq parameter to boost the results having exact matches at the top. You may try something like: q="cats" AND London NOT Leeds&bq="cats"^50 In edismax, pf and pf2 parameters also need some tuning to get the result