Nuxeo mailing list archives
[CPS-users] Coding NXLucene Weights(Boost) for Fileds
Ram Peters
rampeters at gmail.com
Fri May 11 21:22:13 CEST 2007
For my current requirement, I need to have weights to certain fields.
I want to set Boost to certain fields.
Where can start looking at the code or what file to add this
functionality. I am thinking of including Boost or Weights value,
when index xml rpc call is made. I am open to other suggestions.
This is just a example from java:
Field senderNameField = Field.Text("senderName", senderName);
Field subjectField = Field.Text("subject", subject);
subjectField.setBoost(1.2);
Thanks.
This list archive provided by Nuxeo, the
leaders of open source ECM.
Check out the Nuxeo 5 open source,
standards-based ECM project.