lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dion Almaer" <>
Subject Dates and others
Date Sun, 23 Nov 2003 02:33:44 GMT

Hi guys -

First off I want to just give the Lucene project credit for producing an API like this.  Truly

I was just wondering if anyone could share some wisdom on a couple of issues:

1. The power of dates:
   I am fairly happy with the results of queries on my index.  The only issue I have is that
at the
moment the date of the content isn't considered (since lucene doesn't know about it).  Is
there a
good way in which the date of the content could be used to help with the scoring?  So more
content shows up higher in the stack.  I have a date keyword field, but it isn't part of the
itself.  Are there any patterns to help with this?

2. +field:foo and the QueryParser:

   I ran into some problems where using +field:foo was giving strange results.  When I changed
queries to "... AND field:foo" everything was fine.
   Am I missing something there?

3. I have some fields suck as title, owner, etc as well as the content blob which I index
and use as
the default search field.  Is there an easy way to extend the QueryParser to merge it with
MultiTermQuery which can also search this meta data and give them certain weights?  Or, if
you go
down this path do you have to leave the QueryParser behind and build your own queries?  Any
practices would be great.

Sorry for bugging the list.



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

View raw message