Hi Joel,

The ID is sent back as a string (instead of as an integer) in your example. Could this be the cause?

- Jonathan

On Nov 4, 2009, at 9:08 AM, Joel Nylund wrote:

Hi, I have a field called firstLetterTitle, this field has 1 char, it can be anything, I need help with a few queries on this char:

1.) I want all NON ALPHA and NON numbers, so any char that is not A- Z or 0-9

I tried:

http://localhost:8983/solr/select?q=NOT%20firstLetterTitle:0%20TO%209%20AND%20NOT%20firstLetterTitle:A%20TO%20Z

But I get back numeric results:

<doc>
<str name="firstLetterTitle">9</str>
<str name="id">23946447</str>
</doc>


2.) I want all only Numerics:

http://localhost:8983/solr/select?q=firstLetterTitle:0%20TO%209

This seems to work but just checking if its the right way.



2.) I want all only English Letters:

http://localhost:8983/solr/select?q=firstLetterTitle:A%20TO%20Z

This seems to work but just checking if its the right way.


thanks
Joel


Reply via email to