I have indexed a property using Lucene's keyword analyzer:
create index Snippet.ssdeep on Snippet (ssdeep) FULLTEXT ENGINE LUCENE
METADATA {"analyzer":"org.apache.lucene.analysis.core.KeywordAnalyzer"}
The filed contains simhashes that I have indexed for test.
Now when I search using Lucene, I get a response for the exact queries, but
not for the fuzzy queries (despite properly escaping the query text).
For instance, given a field with the value
"192:d4e1GDZYDUZrw9AfCB+A66ancCZmx9n2P:2e1GW18A66ac/YP~0.9", the following
query yields one record:
select from snippet where ssd lucene
"192\\:d4e1GDZYDUZrw9AfCB\\+A66ancCZmx9n2P\\:2e1GW18A66ac\\/YP"
While this query yields no records:
select from snippet where ssd lucene
"192\\:d4e1GDZYDUZrw9AfCB\\+A66ancCZmx9n2P\\:2e1GW18A66ac\\/YP~0.9"
I wonder what is preventing Lucene from finding approximative results?
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.