Re: Phrase Query only forward direction

2017-06-12 Thread Aman Deep Singh
Thanks Eric On Mon, Jun 12, 2017 at 10:28 PM Erick Erickson wrote: > Complex phrase also has an inorder flag that I think you're looking for > here. > > Best, > Erick > > On Mon, Jun 12, 2017 at 7:16 AM, Erik Hatcher > wrote: > > Understood. If you need ordered, “sloppy” (some distance) phras

Re: Phrase Query only forward direction

2017-06-12 Thread Erick Erickson
Complex phrase also has an inorder flag that I think you're looking for here. Best, Erick On Mon, Jun 12, 2017 at 7:16 AM, Erik Hatcher wrote: > Understood. If you need ordered, “sloppy” (some distance) phrases, you > could OR in a {!complexphrase} query. > > https://cwiki.apache.org/confluen

Re: Phrase Query only forward direction

2017-06-12 Thread Erik Hatcher
Understood. If you need ordered, “sloppy” (some distance) phrases, you could OR in a {!complexphrase} query. https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-ComplexPhraseQueryParser

Re: Phrase Query only forward direction

2017-06-12 Thread Aman Deep Singh
Yes Erik I can use ps=0 but, my problem is that I want phrase which have same sequence and they can be present with in some distance E.g. If I have document masitha xyz 12345 I want that to be boosted since the sequence is in order .That's why I have use ps=5 Thanks, Aman Deep Singh On 12-Jun-2017

Re: Phrase Query only forward direction

2017-06-12 Thread Erik Hatcher
Using ps=5 causes the phrase matching to be unordered matching. You’ll have to set ps=0, if using edismax, to get exact order phrase matches. Erik > On Jun 12, 2017, at 1:09 AM, Aman Deep Singh > wrote: > > Hi, > I'm using a phrase query ,but it was applying the phrase boost to the