Re: ngramfilter minGramSize problem

2014-04-07 Thread Andreas Owen
it works well. now why does the search only find something when the fieldname is added to the query with stopwords? "cug" -> 9 hits "mit cug" -> 0 hits "plain_text:mit cug" -> 9 hits why is this so? could it be a problem that stopwords aren't used in the query because no all fields that are

Re: ngramfilter minGramSize problem

2014-04-06 Thread Furkan KAMACI
Correction: My patch is at SOLR-5152 7 Nis 2014 01:05 tarihinde "Andreas Owen" yazdı: > i thought i cound use max="2"/> to index and search words that are only 1 or 2 chars long. it > seems to work but i have to test it some more > > > On Sun, 06 Apr 2014 22:24:20 +0200, Andreas Owen > wrote: >

Re: ngramfilter minGramSize problem

2014-04-06 Thread Andreas Owen
i thought i cound use max="2"/> to index and search words that are only 1 or 2 chars long. it seems to work but i have to test it some more On Sun, 06 Apr 2014 22:24:20 +0200, Andreas Owen wrote: i have the a fieldtype that uses ngramfilter whle indexing. is there a setting that can for

Re: ngramfilter minGramSize problem

2014-04-06 Thread Furkan KAMACI
Hi Andreas; I've implemented a similar feature into EdgeNgramFilter due to some Solr users wants it. My patch is here: https://issues.apache.org/jira/browse/SOLR-5332 However if you read the conversation below the issue you will realize that you can do it with another way. Thanks; Furkan KAMACI

ngramfilter minGramSize problem

2014-04-06 Thread Andreas Owen
i have the a fieldtype that uses ngramfilter whle indexing. is there a setting that can force the ngramfilter to index smaller words then the minGramSize? Mine is set to 3 and the search wont find word that are only 1 or 2 chars long. i would like to not set minGramSize=1 because the result