Hi

Take a look at the query parameters it supports:

http://wiki.apache.org/solr/DisMaxRequestHandler

An exact combination (phrase), all of the words or one are possible:
you can use the mm parameter (100% and 1 for your case).

Part of a word is not possible, nor explicit query fields in the q parameter.

hth
Paul

On 7/2/07, Thierry Collogne <[EMAIL PROTECTED]> wrote:
Hello,

I have a couple questions about the DismaxRequestHandler. I am using it,
because I want to use the boosting mechanism, but I can't get the following
to work :

We also have an advanced search where users can search for :

     *  An exact combination of words
     *  All the words
     *  One of the words
     *  Part of a word

This is a bit like the advanced search from google.

Can this be done when using the DismaxRequestHandler? I did a test with 2
queries :
         * post OR lettre
         * post AND lettre

When using the DismaxRequestHandler I get the same search results, with the
StandardRequestHandler, the OR query gives me much more results than the
AND.

Can someone explain to me how to use OR and AND with the
DismaxRequestHandler?

Thank you.

Reply via email to