I am trying to get date range searching use the range query (maybe a bad choice vs. DateFilter, but I wanted to be able to use it from the query string).
So I type in a string like date:[0czi1ceuk-0d0ouet2k] When I run this through the QueryParser it return only 1 term. That is the query gets converted to: date:[0czi1ceuk-0d0ouet2k-null] This is because the StandardTokenizer sees <alphanum> <p> <has_digit> as a single token. Note: <p> can be .,-,_,, and a few other things. What do people think the right way to handle this issue for the range queries? My suggestion is to do a indexOf() for "-" and create the one or two tokens. That is, don't use the analyzer to determine what the tokens are here. Is there a problem with this? --Peter -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>