lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandeep Mestry <>
Subject Re: Exact matching in Solr 3.6.1
Date Thu, 25 Apr 2013 15:31:07 GMT
Agree with Jack.

The current field type text_general is designed to match the query tokens
instead of exact matches - so it's not able to fulfill your requirements.

Can you use flat file
<>as spell check
dictionary instead and that way you can search on exact
matched field while generating spell check suggestions from the file
instead of from index?


On 25 April 2013 16:25, Jack Krupansky <> wrote:

> Well then just do an exact match ONLY!
> It sounds like you haven't worked out the inconsistencies in your
> requirements.
> To be clear: We're not offering you "solutions" - that's your job. We're
> only pointing out tools that you can use. It is up to you to utilize the
> tools wisely to implement your solution.
> I suspect that you simply haven't experimented enough with various boosts
> to assure that the unstemmed result is consistently higher.
> Maybe you need a custom stemmer or stemmer overide so that "passengers"
> does get stemmed to "passenger", but "cats" does not (but "dogs" does.)
> That can be a choice that you can make, but I would urge caution. Still, it
> is a decision that you can make - it's not a matter of Solr forcing or
> preventing you. I still think boosting of an unstemmed field should be
> 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:
> Subject: Re: Exact matching in Solr 3.6.1
> 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.**
> Sent from the Solr - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message