Is this with trunk? I can't seem to reproduce this... what's the field type?

-Yonik
http://www.lucidimagination.com

On Fri, Oct 16, 2009 at 3:01 PM, wojtekpia <wojte...@hotmail.com> wrote:
>
> I'm seeing the same behavior and I don't have any custom query parsing
> plugins. Similar to the original post, my queries like:
>
> select?q=field:[1 TO *]
> select?q=field:[1 TO 2]
> select?q=field:[1 TO 2]&debugQuery=true
>
> work correctly, but including an unboundd range appears to break the debug
> component:
> select?q=field:[1 TO *]&debugQuery=true
>
> My stack trace is the same as the original post.
>
>
> gdeconto wrote:
>>
>> my apologies, you are correct; I put the stack trace in an edit of the
>> post and not in the original post.
>>
>> re version info:
>>
>> Solr Specification Version: 1.3.0.2009.07.08.08.05.45
>> Solr Implementation Version: nightly exported - yonik - 2009-07-08
>> 08:05:45
>>
>> NOTE: I have some more info on this NPE problem.  I get the NPE error
>> whenever I use debugQuery and the query range has an asterix in it, even
>> tho the query itself should work.  For example:
>>
>> These work ok:
>>
>> http://127.0.0.1:8994/solr/select?q=myfield:[* TO 1]
>> http://127.0.0.1:8994/solr/select?q=myfield:[1 TO *]
>> http://127.0.0.1:8994/solr/select?q=myfield:[1 TO 1000]
>> http://127.0.0.1:8994/solr/select?q=myfield:[1 TO 1000]&debugQuery=true
>>
>> These do not work ok:
>>
>> http://127.0.0.1:8994/solr/select?q=myfield:[* TO 1]&debugQuery=true
>> http://127.0.0.1:8994/solr/select?q=myfield:[1 TO *]&debugQuery=true
>> http://127.0.0.1:8994/solr/select?q=myfield:*
>> http://127.0.0.1:8994/solr/select?q=myfield:*&debugQuery=true
>>
>> Not sure if the * gets translated somewhere into a null value parameter (I
>> am just starting to look at the solr code) per your comment
>>
>
> --
> View this message in context: 
> http://www.nabble.com/how-can-I-use-debugQuery-if-I-have-extended-QParserPlugin--tp25789546p25930610.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>

Reply via email to