Re: QueryParser: open ended range queries

2005-04-05 Thread Erik Hatcher
On Apr 5, 2005, at 2:49 PM, Yonik Seeley wrote: Just curious. I plan on overriding the current getRangeQuery() anyway since it currently doesn't run the endpoints through the analyzer. What will you do when multiple tokens are returned from the analyzer? Erik

Re: QueryParser: open ended range queries

2005-04-05 Thread Yonik Seeley
For numeric fields, this will never happen. For text fields, I could either 1) just use the first token generated (yuck) 2) don't run it through the analyzer (v1.0) 3) run it through an analyzer specific to range and prefix queries (post v1.0) Since I know the schema, I can pick and choose