lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alvaro Cabrerizo <topor...@gmail.com>
Subject Re: Solr substring search
Date Fri, 06 Sep 2013 06:58:26 GMT
Hi:

I would start looking:

http://docs.lucidworks.com/display/solr/The+Standard+Query+Parser

And the
org.apache.lucene.queryparser.flexible.standard.StandardQueryParser.java

Hope it helps.

On Thu, Sep 5, 2013 at 11:30 PM, Scott Schneider <
Scott_Schneider@symantec.com> wrote:

> Hello,
>
> I'm trying to find out how Solr runs a query for "*foo*".  Google tells me
> that you need to use NGramFilterFactory for that kind of substring search,
> but I find that even with very simple fieldTypes, it just works.  (Perhaps
> because I'm testing on very small data sets, Solr is willing to look
> through all the keywords.)  e.g. This works on the tutorial.
>
> Can someone tell me exactly how this works and/or point me to the Lucene
> code that implements this?
>
> Thanks,
> Scott
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message