Ok, Mike, that was very helpful.
Now, i think i should use BooleanQuery with PhraseQueries but will
PhraseQuery be able to handle all synonyms- multi or single term?
What is the best way for this:
i have multiple tokens and i want to be able to do a cheap fuzzy search.
Best regards
On 9/18
Yes, +1 for a patch to improve the docs!
MultiPhraseQuery only works for single term synonyms, and is usually
produced by query parsers when the incoming query text had single term
synonyms matching, I think? The query parser will use other (span?)
queries for multi token synonyms.
I think the e
FuzzyQuery seems also not suitable for me.
PrefixQuery can be one token only, right?
Best
On 9/18/18 5:23 PM, baris.ka...@oracle.com wrote:
Erick,-
i think the reason why MultiPhraseQuery was created was synonyms as
far as i understood. am i right?
i want to have a BooleanQuery or MultiPh
Erick,-
i think the reason why MultiPhraseQuery was created was synonyms as
far as i understood. am i right?
i want to have a BooleanQuery or MultiPhraseQuery (i cant decide between
these two) with an index which considers synonyms already.
One disadvantage of MultiPhraseQuery is that it need
bq. i wish the Javadocs has examples like PhraseQuery Javadocs gave.
This is where someone coming into the examples for the first time is
invaluable, javadoc patches are most welcome! It can be hard to back
off enough to remember what the confusing bits are when you wrote the
code ;)
On Tue, Sep 1
Any suggestions please?
Two main questions:
- how do synonyms get utilized by MultiPhraseQuery?
- how do we get second token "app" applied to the example on
MultiPhraseQuery javadocs page? (and how do we get Terms[] array from
Terms object?)
Now three questions :)
i wish the Javadocs has exam
Trying to implement the example on
https://lucene.apache.org/core/6_6_1/core/org/apache/lucene/search/MultiPhraseQuery.html
// A generalized version of PhraseQuery, with the possibility of adding
more than one term at the same position that are treated as a
disjunction (OR). To use this class
Hi,-
how does MultiPhraseQuery treat synonyms?
is the following possible?
... (created index with synonyms and indexReader object has the index)
IndexSearcher is = new IndexSearcher(indexReader);
MultiPhraseQuery.Builder builder = new MultiPhraseQuery.Builder();
builder.add(new Term("body",
Makes sense; thanks for the quick reply.
On Tue, Sep 18, 2018 at 2:53 PM Robert Muir wrote:
> On Tue, Sep 18, 2018 at 7:00 AM, Seth Utecht
> wrote:
> >
> > My concern is that it seems like LongPoint's FieldType has an
> IndexOptions
> > that is always NONE. It strikes me as odd, because we are
On Tue, Sep 18, 2018 at 7:00 AM, Seth Utecht wrote:
>
> My concern is that it seems like LongPoint's FieldType has an IndexOptions
> that is always NONE. It strikes me as odd, because we are in fact indexing
> and searching against these LongPoint fields.
>
Points fields don't create an inverted
Hi!
New lucene user here, so my apologies if this turns out to be something
silly or obvious.
I'm working on some legacy code that we've inherited; currently we're in
the process of moving from Lucene3 to Lucene7.
My concern is that it seems like LongPoint's FieldType has an IndexOptions
that is
11 matches
Mail list logo