Re: Lucene same search result for worlds with and without spaces

2018-06-26 Thread Ahmet Arslan
Hi Egorlex, Shingle filter won't turn "similarissues" into "similar issues". But it can do the reverse. It is like a sliding window. Think about what indexed tokens would be if you set token separator to "" Ahmet On Wednesday, June 20, 2018, 12:42:22 PM GMT+3, egorlex wrote: Tha

Re: Lucene same search result for worlds with and without spaces

2018-06-20 Thread András Péteri
Original message- > > From:egorlex > > Sent: Wednesday 20th June 2018 11:42 > > To: java-user@lucene.apache.org > > Subject: Re: Lucene same search result for worlds with and without spaces > > > > Thanks for replay! > > > > sorry, could

RE: Lucene same search result for worlds with and without spaces

2018-06-20 Thread Markus Jelsma
al message- > From:egorlex > Sent: Wednesday 20th June 2018 11:42 > To: java-user@lucene.apache.org > Subject: Re: Lucene same search result for worlds with and without spaces > > Thanks for replay! > > sorry, could you help a little, according to example > >

Re: Lucene same search result for worlds with and without spaces

2018-06-20 Thread egorlex
Thanks for replay! sorry, could you help a little, according to example "given the phrase “Shingles is a viral disease”, a shingle filter might produce: Shingles is is a a viral viral disease " I do not quite understand how this ShingleFilter can turn "similarissues" into "similar issues" Tha

Re: Lucene same search result for worlds with and without spaces

2018-06-19 Thread Ahmet Arslan
Hi Egorlex, ShingleFilter could be used to achieve your goal. Ahmet On Tuesday, June 19, 2018, 8:06:46 PM GMT+3, egorlex wrote: Hi, I need help with Lucene. How a can realize same search result for worlds with and without spaces. For example request "similar issues" and "similari

Lucene same search result for worlds with and without spaces

2018-06-19 Thread egorlex
Hi, I need help with Lucene. How a can realize same search result for worlds with and without spaces. For example request "similar issues" and "similarissues" must return all Similar Issues. Thanks. -- Sent from: http://lucene.472066.n3.nabble.com/Lucene-Java-Users-f532864.html

Lucene same search result for worlds with and without spaces

2018-06-19 Thread egorlex
Hi, I need help with Lucene. How a can realize same search result for worlds with and without spaces. For example request "similar issues" and "similarissues" must return all Similar Issues. Thanks. -- Sent from: http://lucene.472066.n3.nabble.com/Lucene-Java-Users-f532864.html