Re: How to query for 'any word' in a phrase

2020-01-09 Thread Tomoko Uchida
t; solely property of the sender's organization. > This mail communication is confidential. Recipients named above are > obligated to maintain secrecy and are not permitted to disclose the > contents of this communication to others. > > -----------------------------

回复: 回复:How to query for 'any word' in a phrase

2020-01-09 Thread 陈志祥
thers. -- 发件人:Jeroen Lauwers 日 期:2020年01月09日 23:41:37 收件人:java-user@lucene.apache.org 主 题:RE: 回复:How to query for 'any word' in a phrase I don’t understand your question: In general: can it be set? Yes, : PhraseQuery<https://lucene.apache.org/c

回复: 回复:How to query for 'any word' in a phrase

2020-01-09 Thread 陈志祥
ers 日 期:2020年01月09日 23:41:37 收件人:java-user@lucene.apache.org 主 题:RE: 回复:How to query for 'any word' in a phrase I don’t understand your question: In general: can it be set? Yes, : PhraseQuery<https://lucene.apache.org/core/7_7_2/core/org/apache/lucene/search/PhraseQuery.ht

RE: 回复:How to query for 'any word' in a phrase

2020-01-09 Thread Jeroen Lauwers
is not specific to a position Please explain how this could help. Jeroen From: 陈志祥 Sent: donderdag 9 januari 2020 16:31 To: java-user@lucene.apache.org Subject: 回复:How to query for 'any word' in a phrase could the slop parameter in p

回复:How to query for 'any word' in a phrase

2020-01-09 Thread 陈志祥
ed to disclose the contents of this communication to others. -- 发件人:Jeroen Lauwers 日 期:2020年01月09日 23:17:37 收件人:java-user@lucene.apache.org 主 题:How to query for 'any word' in a phrase Dear all, Is there a way to const

How to query for 'any word' in a phrase

2020-01-09 Thread Jeroen Lauwers
Dear all, Is there a way to construct (spans?) a phrase search like the following: the quick brown * jumps over the * * where * = any word but exactly 1 word I introduced these *’s at a specific position, so a PhraseQuery with slop of 2 is just not good enough and the two *’s at the end must be