problem is that i am getting back all of the results with matches on
fieldCity, whether i have a match on fieldText or not, and i want all
results to have at least one match on fieldText.
What i have now is basically: +city text1 text2 text3. The only term
required to match is the city. The rest
Are You using MultiFieldQueryParser? i see similar behavior for that parser.
That is why i asked for your query string, lets look at Your query
string and which parser You are using.
Best regards
On 8/28/18 8:02 AM, thturk wrote:
Occur.MUST is working but problem for my case is when Occur.S
Occur.MUST is working but problem for my case is when Occur.SHOULD wont
return any result then total result will be Occur.MUST 's all result which
is a huge resultset. I want my query to return all matched with given search
and with speed as possible.
in my records my speed is slower then it sho
Taha,-
can you please simplify your case? You need to narrow down more.
Best regards
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org
Hey i am trying to create some queries which should work like "where .
and and" in sql.
i have tried boolQuery for that purpose eg;
*boolQueryBuilder.add(new BooleanClause(new FuzzyQuery(new Term(fieldCity,
city), 0), Occur.FILTER));
boolQueryBuilder.add(new BooleanClause(new WildcardQue