You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Guilleret Florian <gu...@gmail.com> on 2017/08/24 08:30:39 UTC

EdgeNGramFilterFactory More specific ?

I use a fieldtype who use EdgeNGramFilterFactory min 1 max 15. It work
perfectly and i got this behavior :

For string like :

DU2083

I got :

D
DU
DU2
DU20
DU208
DU2083

Its ok but i need do deeper. I want this behavior :

DU2083

I need to split like :


D
DU
DU2
DU20
DU208
DU2083
3
83
083
2083
U2083
DU2083

Like a reverse EdgeNGramFilterFactor. Do you know how to got this behavior ?



Guilleret Florian <http://www.girodmedical.com/>
Tel : +33 6 21 28 43 06

Re: EdgeNGramFilterFactory More specific ?

Posted by Guilleret Florian <gu...@gmail.com>.
Thanks NGramFilter Work perfectly for my case ;)

Guilleret Florian <http://www.girodmedical.com/>
Tel : +33 6 21 28 43 06

2017-08-24 10:41 GMT+02:00 Markus Jelsma <ma...@openindex.io>:

> NGramFilter!
>
>
>
> -----Original message-----
> > From:Guilleret Florian <gu...@gmail.com>
> > Sent: Thursday 24th August 2017 10:30
> > To: solr-user@lucene.apache.org
> > Subject: EdgeNGramFilterFactory More specific ?
> >
> > I use a fieldtype who use EdgeNGramFilterFactory min 1 max 15. It work
> > perfectly and i got this behavior :
> >
> > For string like :
> >
> > DU2083
> >
> > I got :
> >
> > D
> > DU
> > DU2
> > DU20
> > DU208
> > DU2083
> >
> > Its ok but i need do deeper. I want this behavior :
> >
> > DU2083
> >
> > I need to split like :
> >
> >
> > D
> > DU
> > DU2
> > DU20
> > DU208
> > DU2083
> > 3
> > 83
> > 083
> > 2083
> > U2083
> > DU2083
> >
> > Like a reverse EdgeNGramFilterFactor. Do you know how to got this
> behavior ?
> >
> >
> >
> > Guilleret Florian <http://www.girodmedical.com/>
> > Tel : +33 6 21 28 43 06
> >
>

RE: EdgeNGramFilterFactory More specific ?

Posted by Markus Jelsma <ma...@openindex.io>.
NGramFilter!

 
 
-----Original message-----
> From:Guilleret Florian <gu...@gmail.com>
> Sent: Thursday 24th August 2017 10:30
> To: solr-user@lucene.apache.org
> Subject: EdgeNGramFilterFactory More specific ?
> 
> I use a fieldtype who use EdgeNGramFilterFactory min 1 max 15. It work
> perfectly and i got this behavior :
> 
> For string like :
> 
> DU2083
> 
> I got :
> 
> D
> DU
> DU2
> DU20
> DU208
> DU2083
> 
> Its ok but i need do deeper. I want this behavior :
> 
> DU2083
> 
> I need to split like :
> 
> 
> D
> DU
> DU2
> DU20
> DU208
> DU2083
> 3
> 83
> 083
> 2083
> U2083
> DU2083
> 
> Like a reverse EdgeNGramFilterFactor. Do you know how to got this behavior ?
> 
> 
> 
> Guilleret Florian <http://www.girodmedical.com/>
> Tel : +33 6 21 28 43 06
>