Re: A question about IndexerReader.termPositions()

2008-01-15 Thread Grant Ingersoll
Wildcard "terms" get expanded by the rewrite() method on WildcardQuery to Term instances during processing. Thus, you would have to TermEnum that the WildCardQuery uses in order to get the individual terms first, then you could get the term positions. -Grant On Jan 15, 2008, at 3:39 AM, T

A question about IndexerReader.termPositions()

2008-01-15 Thread Terry Yang
Hi,ALL Playing with an algorithm(Summarize/Highlight Based on Slide Windows), i find that IndexerReader.termPositions(Term term) not support wildcard term. Is it meaningful or not to write a patch to support wildcard term? - To u