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