You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Vladimir <vi...@gmail.com> on 2013/08/29 18:00:49 UTC
How to push documents with all words of query to top of result?
Now, if I write the phrase The car in search query I get result
Black car
Test a car
The car
A fast car
But I need to get "The car" on top:
How this to get?
Thanks!
--
View this message in context: http://lucene.472066.n3.nabble.com/How-to-push-documents-with-all-words-of-query-to-top-of-result-tp4087265.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: How to push documents with all words of query to top of result?
Posted by Erick Erickson <er...@gmail.com>.
I suspect that you're having stopwords removed, in which case
there's no way to do what you want, you'd need to change
your analysis chain to keep stopwords, then probably boost
phrases pretty high.
Best
Erick
On Thu, Aug 29, 2013 at 12:00 PM, Vladimir <vi...@gmail.com> wrote:
> Now, if I write the phrase The car in search query I get result
>
> Black car
> Test a car
> The car
> A fast car
>
> But I need to get "The car" on top:
>
> How this to get?
>
> Thanks!
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/How-to-push-documents-with-all-words-of-query-to-top-of-result-tp4087265.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>