Ok this might be a simple one, or more likely, my understanding of solr is
shot to bits....

We have a catalogue of documents that we have a solr index on.  We need to
provide an alphabetical search, so that a user can list all documents with a
title beginning A, B and so on...

So how do we do this?

Currently we have built up the following query:

<domain>/solr/select/?q=titleLong(a*)&rows=50

Whilst this is fine, it returns ALL documents that have an 'A' anywhere in
the title and as you can imagine, there are quite a few of these!  So
obviously we then strip out the results that don't begin with A.  This seems
to be incredibly wasteful to me.

Any one got any ideas?
-- 
View this message in context: 
http://www.nabble.com/Alphabetical-search-on-solr-tp18585264p18585264.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to