lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JLIST <jli...@gmail.com>
Subject startsWith?
Date Sat, 03 May 2008 19:59:47 GMT
Hi, I wonder it's possible search for text/string fields that starts
with a substring, similar to Java's startsWith function? For example,
if I have a URL indexed as text or string field, can I find URLs that
starts with "http://domain/articles/2008/" ?

If not, what's the best way to implement a query like this? By
splitting up the URL into sections and index them incrementally
like below?

http://domain/
http://domain/articles/
http://domain/articles/2008/
...


Mime
View raw message