The 1 and 100% did it. But I am not sure how I can do the exact combination (phrase).
Could you tell me, please? On 02/07/07, Paul Borgermans <[EMAIL PROTECTED]> wrote:
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. >