Hi,-
i cant get FuzzyQuery working for searching with a query like Mains~2 to find
the word Main in a TextField.
Any suggestions please?
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands,
For problem#1 the following fuzzyquery ALONE does not catch any results
when i run it alone in the BooleanQuery and with either SHOULD or MUST
occurrence. such as:
[contentDFLT:MAIN~2]
For problem#1 again the query is as follows:
[+contentDFLT:"street", ->PhraseQuery
They only differ in 1 char and 5 letters long one 4 letters long the
correct word:
Mains vs Main (correct)
FuzzyQuery Mains~2 cannot catch anything with Main in the first 74 hits.
the 75th hit has Main word.
Best regards
On 6/7/19 2:44 PM, Atri Sharma wrote:
i make sure i specify a
Sure, i will try that: and lets mark this problem as problem#1.
something else is also happening: lets mark this as problem#2.
i make sure i specify a string with 1 edit away misspelled and that
never gets hit but the word with correct spelling is in the index.
Best regards
On 6/7/19 2:02
>However, with MUST
> clause, that restriction is lifted.
I meant that with a SHOULD clause, that restriction is lifted i.e. a
query can score hits even if SHOULD clause does not match the hit (but
other MUST clauses do match).
Is your FuzzyQuery matching any documents at all?
It would be helpful if you could post your entire query. It might be
happening that your Fuzzy query is not matching any hits, but when you
specify it as a MUST clause, then it becomes a necessary condition for
any hit to be returned by your
May i ask this question about FuzzyQuery?
When i select BooleanClause.Occur.MUST for a FuzzyQuery i dont get any
results back but with
Occur.SHOULD i get some results, though.
what is the meaning of Occur.MUST for FuzzyQuery?
I want Lucene to give me best result from FuzzyQuery, i thought
Omitting norms and the like only matters for text fields, primitives (numerics,
boolean, string) don’t have any of that information.
You really have no choice but to re-index to jump from 4->7. Or, I should say
you’re completely unsupported and you will have to deal with any anomalies. I
Hi All,
While working on a new Query type, I was inclined to think of a couple
of use cases where the documents being scored need not be all of the
data set, but a sample of them. This can be useful for very large
datasets, where a query is only interested in getting the "feel" of
the data, and
Thanks Erik for your answer.
Unfortunately I should migrate the index for time reasons. Maybe in a
second moment we will have the opportunity to reindex.
Our use case is to classify documents in the index with lucene queries,
hence we're not really interested in ranking or sorting (which could
10 matches
Mail list logo