Re: SetBoost for dismax query

2015-09-26 Thread Doug Turnbull
Ah are you having an issue with Lucene code? You might do better at java-u...@lucene.apache.org That being said, do you have code you can share with the list that demonstrates your problem? -Doug On Sat, Sep 26, 2015 at 11:42 AM, Gajendra Dadheech wrote: > Hey Doug, > > Thanks for reply. Detai

Re: SetBoost for dismax query

2015-09-26 Thread Gajendra Dadheech
Hey Doug, Thanks for reply. Details regarding my use case: I need to query on two fields in my indexes, and will consider score only for the one which has highest score. So i create two boolean queries [these queries are made up of other differet tokens, so chose boolean query] on those two fiel

Re: SetBoost for dismax query

2015-09-26 Thread Doug Turnbull
Hi Gajendra What do you mean by "behaving odd"? What odd behavior do you see? My colleague John Berryman and I have seen many ways dismax has "behaved odd" and we've tried to write about them (it quite often surprises me too) http://opensourceconnections.com/blog/2013/07/02/getting-dissed-by-dis

SetBoost for dismax query

2015-09-26 Thread Gajendra Dadheech
Hi, As i can see in solr code, DisJunctionMaxQuery extends Query, so by default is inherits the functionaltiy. So Query class has one method called SetBoost, this is behaving very odd when applied on a DisMax Query. Can someone guide me regarding how calling SetBoost on a dismax query would impact