Nick Jenkin schrieb:
Hi
I was wondering if there is a way of applying dismax parsing to
specific fields, where there are multiple fields being searched
- all with different query values
e.g.

author:(tolkien) AND title:(the lord of the rings)

would be something like:

dismax(author, tolkien) AND dismax(title, the lord of the rings)

I guess this can be thought of having two separate dismax
configurations, one searching author and one searching title -
and the intersection of the results is returned.

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

This says that "the DisMaxRequestHandler is simply the standard request
handler with the default query parser set to the DisMax Query Parser".
So maybe you could program your own CustomDisMaxRequestHandler that
reuses the DisMax query parser (and probably other components) to
achieve what you want.

Michael Ludwig

Reply via email to