I don't know if there is one, but if you need this kind of search to for 
example show all docs starting with an "a" or "A", I would just add an extra 
field only containing the first letter. This is *much* faster in lucene, and 
for many documents you don't risk the too many boolean clauses (though you can 
set it very high, at the cost of memory)

Just index the first letter in a seperate field IMO (if there is nothing 
already done for it in Solr at least)

Ard

> 
> Is there any way to query - find the string which first char 
> is "a" or "A".
> 
> Thanks,
> 
> Jae
> 

Reply via email to