Re: Ignoring “de la” at index or search time

2019-02-24 Thread baris.kazar
ting feature] case2: that PhraseQuery being used: i guess i need to play with the “slops” and stopwords in this case will not help, right? Thanks > On Feb 24, 2019, at 8:02 PM, baris.kazar wrote: > > There is PhraseQuery, too, but lets consider two cases: > > case1: that Phras

Re: Ignoring “de la” at index or search time

2019-02-24 Thread baris.kazar
that PhraseQuery being used: i guess i need to play with the “slops” and stopwords in this case will not help, right? Thanks > On Feb 24, 2019, at 2:25 PM, baris.kazar wrote: > > That is not what i am looking for. Thanks. > > c b search string finds > a b > but how cant find &g

Re: Ignoring “de la” at index or search time

2019-02-24 Thread baris.kazar
pretty much assumed. > > Best, > Erick > >> On Feb 24, 2019, at 9:25 AM, baris.kazar wrote: >> >> i guess so >> what is phrase search? >> c b is searched do you expect a de la b? >> Thanks >> >>> On Feb 24, 2019, at 10:49 AM, Erick

Re: Ignoring “de la” at index or search time

2019-02-24 Thread baris.kazar
hat we might not be talking about the same thing. > > Best, > Erick > >> On Feb 23, 2019, at 7:33 PM, baris.kazar wrote: >> >> In this case search string is c b >> and then search query has 8 combos >> including two cases with c b ~ which means find all containi

Re: Ignoring “de la” at index or search time

2019-02-23 Thread baris.kazar
ybe the right thing to do is let phrases have slop as a matter of course. > > Best, > Erick > > >> On Feb 23, 2019, at 11:07 AM, baris.kazar wrote: >> >> Thanks Erick there is a pattern i cant catch in my results such as: >> a de la b >> i catch “a b” t

Re: Ignoring “de la” at index or search time

2019-02-23 Thread baris.kazar
oncern, why do you think > you need to? > >> On Sat, Feb 23, 2019, 08:42 baris.kazar wrote: >> >> Hi,- >> What is the (most efficient) way to >> ignore “de la” kinda connectors >> in a string at index or search time? >> Thanks >> >> -

Ignoring “de la” at index or search time

2019-02-23 Thread baris.kazar
Hi,- What is the (most efficient) way to ignore “de la” kinda connectors in a string at index or search time? Thanks - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h.

Re: An example for creating SynonymMap Object?

2018-10-15 Thread baris.kazar
Well, query object is defined for searcher and synonyms are handled at index time. This is not with solr. i will not add both but then 123 or abc will mean abc or 123 even one mapping is defined then, right? Best > On Oct 15, 2018, at 6:30 PM, Markus Jelsma wrote: > > Hello Baris, > > The ex

Re: MultiPhraseQuery or PhraseQuery to take the synonyms into account?

2018-09-20 Thread baris.kazar
i should have asked this way as Mike made clear for MultiPhraseQuery: is PhraseQuery ok to account for synonyms? Best > On Sep 20, 2018, at 2:02 PM, baris.ka...@oracle.com wrote: > > Hi,- > > should i use MultiPhraseQuery or PhraseQuery to take synonyms into account? > > Best regards > > bari

Re: Lucene API to retrieve matched words

2018-09-05 Thread baris.kazar
Except TermQuery which does exact match, you can do * by appending star char. In Oracle Database Sql it is like the % char. Hope this helps Best > On Sep 5, 2018, at 5:38 PM, Mike Grishaber wrote: > > Hello All, > > > > I am trying to find a way to retrieve a list of the words that matched

Re: "java.lang.IllegalArgumentException: Could not load codec 'Lucene60'. Did you forget to add lucene-backward-codecs.jar?" Error

2018-07-29 Thread baris.kazar
So, by using backwards codec jar : Lucene 6.6.0 is now using older codec that comes with it, right? Then, the latest codec is enforced to use by reindexing the data with new Lucene 6.6.0 (due to switching from 6.1.0), right? Thus, i did not need to rerun indexing because of use of backwards cod