Re: rewriting wildcard query before highlighting

2007-01-18 Thread Daniel Naber
On Thursday 18 January 2007 14:48, Mark Miller wrote: > Would it be more efficient to make a RAM index with just > the doc to be highlighted and then pass the reader of that into the > rewrite method before highlighting a query that expands? Yes, that's a valid approach, especially using MemoryIn

rewriting wildcard query before highlighting

2007-01-18 Thread Mark Miller
Looking for opinions: If I pass the reader of a large index to the query rewrite method just to highlight a single doc it seems the query I generate will expand to much more than I need. Would it be more efficient to make a RAM index with just the doc to be highlighted and then pass the reader of