Sorting / Document ID renumbering

2004-06-17 Thread Norton, James
Hello, A while back I implemented a general purposoe document sorting mechanism using cached document ids (similar to SortBean). This was before sorting was added to lucene. I am trying to extend this mechanism to allow incremental updates to the cache when new content is loaded or deleted. I

RE: QueryParser Behavior and Token.setPositionIncrement

2004-04-26 Thread Norton, James
eed to add multiple tokens per position at query time anyway, if all the relevant ones were added at indexing time. So use something that emits a more straight-forward incrementing position set of tokens during querying. Erik On Apr 26, 2004, at 2:34 PM, Norton, James wrote: >> I

QueryParser Behavior and Token.setPositionIncrement

2004-04-26 Thread Norton, James
> I am attempting to use Token.setPositionIncrement() to provide alternate forms of > tokens and I have encountered strange > behavior with QueryParser. It seems to be constructing phrase queries with the > alternate tokens. I don't know why the > query would be parsed as a phrase. > > For exa