lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vlad Smirnovskiy <bio.smi...@gmail.com>
Subject Lucene custom scoring / analyzer
Date Wed, 17 Mar 2021 10:30:04 GMT
Hello!

I`d like to do something like that: When I add a document and some text is
going with (e.g.) quotes it should mean that this text has to be exactly in
the query. Better with an examples -

text: green "blue apple" juice

query : blue apple - result: hit.
query : blue apple juice - result: hit.
query : apple blue - result: none.
query : blue - result: none.
query : blu appl - result: none.

So, the words with quotes have to go exactly in this order as they are in
doc

Can I do that with Lucene 8.* and how?


Best regards.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message