Adding custom fields to Examine ExternalIndexSet, but it's not working
Hi all,
I am trying to set up Examine Search in the Umbraco 7.2.2 for the particular user fields, but it’s still searching throughout the whole website contents. Why?
The following code is set up in the “ExamineIndex.config”:
Do you mean that it is indexing fields you don't want indexed? Or that it is indexing nodes you don't want indexed? To include/exclude nodes, from the external indexer, you can do things like this:
I'm pretty sure that after doing the above, your external indexer would only index Product and ProductCategory, so when you do a site search using the External Indexer, you would only get results from those two document types.
However what I mean is not to index of some particular nodes, index of some content properties inside the node instead. For example, I only what to index the "bodyText" field rather than "alertText".
You can't exclude fields from the index, you can only add fields.
However, you can perform searches against specific fields in your search criteria. This article provides a good foundation for using Examine to perform searches and specify criteria:
Adding custom fields to Examine ExternalIndexSet, but it's not working
Hi all,
I am trying to set up Examine Search in the Umbraco 7.2.2 for the particular user fields, but it’s still searching throughout the whole website contents. Why?
The following code is set up in the “ExamineIndex.config”:
Any hints appreciated.
Do you mean that it is indexing fields you don't want indexed? Or that it is indexing nodes you don't want indexed? To include/exclude nodes, from the external indexer, you can do things like this:
I'm pretty sure that after doing the above, your external indexer would only index Product and ProductCategory, so when you do a site search using the External Indexer, you would only get results from those two document types.
Appreciate for your help.
However what I mean is not to index of some particular nodes, index of some content properties inside the node instead. For example, I only what to index the "bodyText" field rather than "alertText".
Thanks
Hi Linda,
You can't exclude fields from the index, you can only add fields.
However, you can perform searches against specific fields in your search criteria. This article provides a good foundation for using Examine to perform searches and specify criteria:
http://umbraco.com/follow-us/blog-archive/2011/9/16/examining-examine.aspx
is working on a reply...