Is there a configuration option to include the Digest field when matching keywords / weighting results?
In an HTML file, you can change a content of “content” field to modify the following value in fess_config.properties.
crawler.document.html.content.xpath=//BODY
“digest” field is not a search field.
Thank you Sugayasan.
I have added the META Description to the .content index with pipe | :
crawler.document.html.content.xpath=//META[@name='description']/@content|//BODY
This is successful in adding the document description to the content for keyword evaluation…
I would like to to add the ‘digest’ data or ‘other custom data’ to be evaluated as part of the keyword search without adding it to the .content field.
I will keep experimenting. The software is exciting.
Thank you again.
To add a custom field and use it on search:
- Add a custom field to doc.json
- Reindex on Maintenace page
- Add the field name to query.additional.search.fields in fess_config.properties
- Restart Fess
Thank you again I will try this!