LineDocSource should assign stable IDs; docdate field should be NumericField ----------------------------------------------------------------------------
Key: LUCENE-2826 URL: https://issues.apache.org/jira/browse/LUCENE-2826 Project: Lucene - Java Issue Type: Improvement Components: contrib/benchmark Reporter: Michael McCandless Assignee: Michael McCandless Some small enhancements when indexing docs from a line doc source: * Assign docid by line number instead of by number-of-docs-indexed; this makes the resulting ID stable when using multiple threads * The docdate field is now indexed as a String (possible created through DateTools). I added two numeric fields: one that indexes .getTime() (= long msec) and another that indexes seconds since the day started. This gives us two numeric fields to play with... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org