Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

The way that dates are entered is using the DateTools from Lucene, so every date ends up in the format

yyyyMMddHHmmss

Wiki MarkupThis might cause some problems. For one thing, the full date (including time) mean that date range queries can't work \ -\- they must include times. Normally one would issue something like \ [19970122 TO 19980215\] to search for all documents between Jan. 22, 1997 and Feb. 15, 1998, but instead this should be done as \ [19970122000000 TO 19980215000000\]. Lucene will not do a range query on something like \ [19970122\* TO 19980215*\].

Performance notes

Lucene, if not properly tweaked, is very, very slow at updating its indices. Straight out of the box it is optimized for simple testing rather than heavy use. Performance considerations also mean that it is not practical to use LuceneContext and JournalingContext together.