[
http://jira.nuxeo.org/browse/NXP-2663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42038#action_42038
]
Thierry Delprat commented on NXP-2663:
--------------------------------------
With compass 1.1, the Lucene QueryBuilder uses OR as default operator.
This has been changed in Compass 2.0 ...
Compass 1.1, does not offer any configuration to override this behavior, this
must be programatic.
=> I changed the code of the Nuxeo QueryBuilder to modify the Lucene
QueryBuidler according to an additionnal Settings inside the compass.cfg.xml
file.
The fix includes a small modification in the Nuxeo QueryBuilder
and you also need to update the the compass.cfg.xml located in
nuxeo.ear/system/nuxeo-platform-search-compass-plugin-5.2-SNAPSHOT.jar/compass.cfg.xml
<compass-core-config>
<compass>
......
<settings>
<setting name="useAndDefaultOperator" value="true"/>
</settings>
</compass>
</compass-core-config>
Beware the settings block must be at the end of the compass block because
compass parser in dumb.
> Make Full Text search default operator configurable
> ---------------------------------------------------
>
> Key: NXP-2663
> URL: http://jira.nuxeo.org/browse/NXP-2663
> Project: Nuxeo Enterprise Platform
> Issue Type: Improvement
> Reporter: Thierry Delprat
> Assignee: Thierry Delprat
> Fix For: 5.1.6, 5.2 M3
>
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets