Ah, OK, showing my ignorance again.  I don't use Solr and haven't read
the book.  FWIW I'm not aware of anything else related already present
in core lucene.  But DisjunctionMaxQuery is just a query so could be
combined with other queries, such as PhraseQuery, much as you're
already doing by the sound of it.


--
Ian.


On Mon, Jan 9, 2012 at 11:55 AM, Paul Taylor <paul_t...@fastmail.fm> wrote:
> On 09/01/2012 10:50, Ian Lea wrote:
>>
>> Use the oal.search.DisjunctionMaxQuery class present in core lucene?
>>
>>
>> --
>> Ian.
>
> The book said that dismax query was similar but different to
>
> DisjunctionMaxQuery
>
> and additionally did Phrase Boosting which I didnt think DisjunctionMaxQuery
> did.
>
>
>
>>
>>
>> On Fri, Jan 6, 2012 at 10:52 PM, Paul Taylor<paul_t...@fastmail.fm>
>>  wrote:
>>>
>>> Just reading Apache Solr Enterprise Search Server and was interested in
>>> pages 152, 153 dismax and DisjunctionMaxQuery and automatic Phrase
>>> Boosting.
>>> I would like to incorporate this into a standard Lucene setup, non solr,
>>> whats the best way to do that.
>>>
>>> In fact I'm already doing something very similar in one case when a user
>>> types in a query I convert the query to search over three different
>>> fields
>>> with different boots because some fields are more important than others,
>>> and
>>> if the search is multiple terms I search over both individual fields and
>>> a
>>> phrase search, but I figure better to use somthing that already exists
>>>
>>> Paul
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
>>> For additional commands, e-mail: java-user-h...@lucene.apache.org
>>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to