It sounds as if your field type is doing stemming - mapping "cats" to "cat". That is a valuable feature of search, but if you wish to turn it off... go ahead and do so by editing the field type. But just be aware that turning off stemming is a great loss of search flexibility.

Who knows, maybe you might want to have both stemmed and unstemmed fields in an edismax query and give a higher boost to the unstemmed field - but it's not up to us to guess your requirements. We're dependent on you clearly expressing your requirements.

As indicated before, you, the developer have complete control here. But... it is up to you, the developer to choose wisely, to suit your application requirements. But if you don't describe your requirements with greater precision and detail, we won't be able to be of much help to you.

Your second (only two????) requirement relates to spellcheck, which is completely unrelated to query matching and exactness. Yes, Solr has a spellcheck capability, and yes, it does collation. Is that all you are asking? If there is a specific issue, please be specific about it.

-- Jack Krupansky

-----Original Message----- 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 leeds

Third document
london cat glenvilet

Search term: "cats" AND London NOT Leeds

Expected result: First document
Current result: First document, Third document

Additionaly, next requirement says that when I type as search term: "cats"
AND Londo NOT Leeds
then I should get spell check collation: "cats" AND London NOT Leeds




--
View this message in context: http://lucene.472066.n3.nabble.com/Exact-matching-in-Solr-3-6-1-tp4058865p4058890.html Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to