Re: range query highlighting

2008-06-11 Thread Yonik Seeley
It's a known deficiency... ConstantScoreRangeQuery and ConstantScorePrefixQuery which Solr uses rewrite to a ConstantScoreQuery and don't expose the terms they match. Performance-wise it seems like a bad idea if the number of terms matched is large (esp when used in a MultiSearcher or later in glo

range query highlighting

2008-06-11 Thread Stefan Oestreicher
Hi, I'm using solr built from trunk and highlighting for range queries doesn't work. If I search for "2008" everything works as expected but if I search for "[2000 TO 2008]" nothing gets highlighted. The field I'm searching on is a TextField and I've confirmed that the query and index analyzers ar