You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have implemented a new feature where the search functionality automatically switches the default query operator from AND to OR when the hit count is below a specified threshold (query.orsearch.min.hit.count). This ensures that users receive more comprehensive search results when their initial query returns too few results.
Implementation Details:
Added a constant DEFAULT_QUERY_OPERATOR in Constants.java.
Updated SearchHelper.java to re-execute the search with OR operator if the initial hit count is below query.orsearch.min.hit.count.
Introduced configuration keys QUERY_ORSEARCH_MIN_HIT_COUNT and related methods in FessConfig.java.
Modified QueryParser.java to set the default operator based on the request attribute DEFAULT_QUERY_OPERATOR.
The text was updated successfully, but these errors were encountered:
We have implemented a new feature where the search functionality automatically switches the default query operator from AND to OR when the hit count is below a specified threshold (
query.orsearch.min.hit.count
). This ensures that users receive more comprehensive search results when their initial query returns too few results.Implementation Details:
DEFAULT_QUERY_OPERATOR
inConstants.java
.SearchHelper.java
to re-execute the search with OR operator if the initial hit count is belowquery.orsearch.min.hit.count
.QUERY_ORSEARCH_MIN_HIT_COUNT
and related methods inFessConfig.java
.QueryParser.java
to set the default operator based on the request attributeDEFAULT_QUERY_OPERATOR
.The text was updated successfully, but these errors were encountered: