lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abhi Abhishek <abhi26...@gmail.com>
Subject Re: Proximity Search using edismax parser.
Date Mon, 12 Jun 2017 16:34:30 GMT
Thanks for the suggestions Erik and Vrindavda,

i was trying to understand how does the above query work when we have slop
set to 10. the debug output of the SOLR Query gave the terms which were
being looked up but the transpositions done to look up the search wasn't
exposed.

i found following stack overflow link which describes the transpositions
done when one is looking for phrase with slop 4. is there a guide to
understand this?

https://stackoverflow.com/questions/25558195/lucene-proximity-search-for-phrase-with-more-than-two-words

Thanks in advance.

Best Regards,
Abhishek


On Mon, Jun 12, 2017 at 5:41 PM, Erik Hatcher <erik.hatcher@gmail.com>
wrote:

> Adding &debug=true to your search requests will give you the parsing
> details, so you can see how edismax interprets the query string and
> parameters to turn it into the underlying dismax and phrase queries.
>
>         Erik
>
> > On Jun 12, 2017, at 3:22 AM, abhi Abhishek <abhi26691@gmail.com> wrote:
> >
> > Hi All,
> >      How does proximity Query work in SOLR.
> >
> > Example if i am running a query like below, for the field containing the
> > text “India registered a historical test match win against the arch rival
> > Pakistan here in Lords, England on Sunday”
> >
> > Query: “Test match India Pakistan” ~ 10
> >
> >                I am interested in understanding the intermediate steps
> > involved here to understand the search behavior and determine how results
> > are being matched to the search phrase.
> >
> > Thanks in Advance,
> >
> > Abhishek
>
>

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