lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <daniel.na...@t-online.de>
Subject Re: MultifieldQueryParser.parse()
Date Tue, 06 Jul 2004 09:51:25 GMT
On Tuesday 06 July 2004 11:19, Sergiu Gordea wrote:

> >(+title:a +title:b) (+body:a +body:b)
> >
> ... unfortunately you are right, but it is a pitty that it not working
> as we want to,
> it seemed to be so useful. It seems that this is the backside of the
> "reverse indexing" medal...
>
>   Has anyone some Ideeas about how can we avoid this situation?

You'll have to do a real query rewriting, as Nutch does. So "+a +b" will 
become +(title:a body:a) + (title:b body:b)

Unfortunately you cannot just copy+paste code from Nutch as they added a layer 
on top of the query stuff (or something like that).

Regards
 Daniel


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message