Re: Relevance by term position

2019-07-08 Thread Erick Erickson
To re-enforce what Alex said, payloads have first-class Solr support as of Solr 6.6, see: https://lucidworks.com/post/solr-payloads/ > On Jul 8, 2019, at 7:15 AM, Jay Potharaju wrote: > > Thanks, use of payloads works for my use case. > Jay > >> On Jun 28, 2019, at 6:46 AM, Alexandre

Re: Relevance by term position

2019-07-08 Thread Jay Potharaju
Thanks, use of payloads works for my use case. Jay > On Jun 28, 2019, at 6:46 AM, Alexandre Rafalovitch wrote: > > This past thread may be relevant: > https://markmail.org/message/aau6bjllkpwcpmro > It suggests that using SpanFirst of XMLQueryParser will have automatic > boost for earlier

Re: Relevance by term position

2019-06-28 Thread Alexandre Rafalovitch
This past thread may be relevant: https://markmail.org/message/aau6bjllkpwcpmro It suggests that using SpanFirst of XMLQueryParser will have automatic boost for earlier matches. The other approach suggested was to use Payloads (which got better since the original thread). Regards, Alex. On

Re: Relevance by term position

2019-06-27 Thread Samuel Kasimalla
Hi Jay, We solve his problem by doing a regular search with a wildcard instead of using autocomplete. It’s a little bit extra work but the customizability and flexibility makes it worth. Thanks, Sam > On Jun 27, 2019, at 10:00 PM, Jay Potharaju wrote: > > Hi, > I am trying to implement

Relevance by term position

2019-06-27 Thread Jay Potharaju
Hi, I am trying to implement autocomplete feature that should rank documents based on term position in the search field. Example- Doc1- hello world Doc2- blue sky hello Doc3 - John hello Searching for hello should return Hello world John hello Blue sky hello I am currently using ngram to do