lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zilverline <>
Subject Q: how to parse query and add boost a term
Date Tue, 15 Jun 2004 09:04:13 GMT

How can I use Lucene's API best to parse a query and then boost the
query with the 'title' given the relevant parts of the query (the
default Field)? To give you an example:

I want to change:

     'java "method invocation" +type:HTML'

          '+contents:java +contents:"method invocation" +type:HTML
+title:java^2 +title:"method invocation"^2'

Of course without having to parse the query myself, so using QueryParser
and friends.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message