lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 小鱼儿 <ctengc...@gmail.com>
Subject Question about PhraseQuery's capacity...
Date Fri, 10 Jan 2020 08:24:11 GMT
I use SmartChineseAnalyzer to do the indexing, and add a document with a
TextField whose value is a long sentence, when anaylized, will get 18 terms.

& then i use the same value to construct a PhraseQuery, setting slop to 2,
and adding the 18 terms concequently...

I expect the search api to find this document, but it returns empty.

Where am i wrong?

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