RE: reg exp

2007-07-17 Thread Ard Schrijvers
> > In general, the type of feature you are interested in is > typcially caleld > a "PrefixQuery" you can acomplish it with the SolrQueryParser > using "a*" > > http://wiki.apache.org/solr/SolrQuerySyntax > > : example show all docs starting with an "a" or "A", I would > just add an >

RE: reg exp

2007-07-16 Thread Chris Hostetter
In general, the type of feature you are interested in is typcially caleld a "PrefixQuery" you can acomplish it with the SolrQueryParser using "a*" http://wiki.apache.org/solr/SolrQuerySyntax : example show all docs starting with an "a" or "A", I would just add an : extra field only conta

RE: reg exp

2007-07-16 Thread Ard Schrijvers
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 (thoug

reg exp

2007-07-16 Thread Jae Joo
Is there any way to query - find the string which first char is "a" or "A". Thanks, Jae