RE: Solr substring search yields all indexed results

2014-08-04 Thread Markus Jelsma
Don't use N-grams at query time. -Original message- > From:prem1980 > Sent: Monday 4th August 2014 17:47 > To: solr-user@lucene.apache.org > Subject: Solr substring search yields all indexed results > > To do a substring search, I have added a new fieldType - "Text" with > NgramFilte

Re: Solr substring search

2013-09-06 Thread Erick Erickson
Yah, you're getting away with it due to the small data size. As your data grows, the underlying mechanisms have to enumerate every term in the field in order to find terms that match so it can get _very_ expensive with large data sets. Best to bite the bullet early or, better yet, see if you reall

Re: Solr substring search

2013-09-06 Thread Alvaro Cabrerizo
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_schnei...@symantec.com> wrote: > Hello, > > I'm