lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-java Wiki] Trivial Update of "DateRangeQueries" by PaulElschot
Date Wed, 27 Feb 2008 16:18:46 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" for change notification.

The following page has been changed by PaulElschot:
http://wiki.apache.org/lucene-java/DateRangeQueries

The comment on the change is:
Correct mmss to hhmmss

------------------------------------------------------------------------------
  
  and use the shortest prefixes possible to search for a range. A similar scheme can be used
for general numerical range searching. This trades off index size for search performance.
  
- When longer dates or numbers need to be indexed, for example CCYYMMDDmmss with minutes and
seconds added, consider indexing the mmss separately, possibly with hierarchical prefixes
themselves.
+ When longer dates or numbers need to be indexed, for example CCYYMMDDhhmmss with hours,
minutes and seconds added, consider indexing the hhmmss separately, possibly with hierarchical
prefixes themselves.
- A search with CCYYMMDDmmss accuracy would then need a BooleanQuery with required clauses
for the CCYYMMDD and mmss parts.
+ A search with CCYYMMDDhhmmss accuracy would then need a BooleanQuery with required clauses
for the CCYYMMDD and hhmmss parts.
  

Mime
View raw message