Re: How could i take into account the other part of a field which not matches with the query

2012-10-14 Thread Simon Willnauer
hey. On Sun, Oct 14, 2012 at 1:51 PM, emmanuel Gosse wrote: >> >> Hi, > > > >> How could i take into account in a query the fact that the searched words >> could be more precise in a document field than an other. >> > > example : > 2 documents : > doc1 : title : taxi > doc2 : title : taxi driver

How could i take into account the other part of a field which not matches with the query

2012-10-14 Thread emmanuel Gosse
> > Hi, > How could i take into account in a query the fact that the searched words > could be more precise in a document field than an other. > example : 2 documents : doc1 : title : taxi doc2 : title : taxi driver Query : TermQuery : title:taxi How could doc1 has a better score than doc2 ?