You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by George Aroush <ge...@aroush.net> on 2006/09/30 16:01:43 UTC

RE: Lucene.Net 1.9.1 "final" is released and Lucene.Net 1.9 "final" is re-released

Hi Folks,

I just released build 002 of Lucene.Net 1.9.1 build 002 "final" as well as
Lucene.Net 1.9 build 006 "final".  Lucene.Net 1.9 was already "final" but
1.9.1 wasn't (it is now.)

Here are the change sets for both of those releases:
    - Release:  Lucene.Net.1.9.1 build 002 "final"
    - Fix: Lucene.Net.Index.SegmentReader.cs and
Lucene.Net.Index.TermInfosReader.cs -- fixed memory leak by removing unused
finalizer.
    - Fix: Lucene.Net.Index.Compression.SharpZipLibAdapter -- provide full
name-space to ICompressionAdapter
    - Fix: Lucene.Net.Store.FSDirectory.RenameFile() -- added a missing
while loop
    - Fix: Lucene.Net.Store.MultiSearcher.CreateWeight() -- wasn't iterating
over the term keys correctly
    - Fix: Lucene.Net.Search.Query.Combine() -- wasn't checking for the
right key before adding

You can grab the source for 1.9 or 1.9.1 off SVN or get a ZIP of the source
from the download site: http://incubator.apache.org/lucene.net/download/.
The ZIP files are called: Lucene.Net-1.9.1-002-29Sep06.src.zip and
Lucene.Net-1.9.final-006-29Sep6.src.zip

Best regards,

-- George Aroush


How to use a field for date/time range searches

Posted by Torsten Rendelmann <to...@gmx.net>.
 
Hello all,

I try to figure out how to use a field for date/time range searches.
As the docs (http://www.dotlucene.net/documentation/QuerySyntax.html)
states,
I used to add this line within my Lucene.Document Create() function:
...
doc.Add(Field.Keyword("date", item.Date));
...
Where item.Date is a DateTime object containing a UTC(!) date and time.

I used Luke to test the search: I provided "date:{20060901 TO 20061001}"
in
the search input tab, but no result is returned (but there must be
results).
My questions:

Q1. Is my query correct?
Q2. Do I have to change impl., to get it work?
Q3. What happens with the provided DateTime? Hopefully there is no
TimeZone.UtcOffset() substraction handling inside?
Q4. How do I search for time? E.g. an item posted in the last hour...

The version I used is Lucene.Net-1.9.1-002-29Sep06.src.zip

TorstenR