Examine IncludeNodeTypes only indexing some of the nodes for that document type.
I'm using Umbraco 7.4.2. I've created an Examine index which is successfully indexing all of my content nodes. I'm now wanting to limit this index to just the one document type. But, for some reason this only indexes a small number of these. (900 of around 35k, yes that's a lot of nodes).
In this code below, my document type is named "Foo".
In your settings do you have indexer setup to exclude unpublished items? Also is there anything in the umbraco log? Do you have an gatheringnode data events firing? It could one particular node is causing an error and preventing full indexing from happening.
Examine IncludeNodeTypes only indexing some of the nodes for that document type.
I'm using Umbraco 7.4.2. I've created an Examine index which is successfully indexing all of my content nodes. I'm now wanting to limit this index to just the one document type. But, for some reason this only indexes a small number of these. (900 of around 35k, yes that's a lot of nodes).
In this code below, my document type is named "Foo".
Mahgo,
In your settings do you have indexer setup to exclude unpublished items? Also is there anything in the umbraco log? Do you have an gatheringnode data events firing? It could one particular node is causing an error and preventing full indexing from happening.
Regards
Ismail
Hi Ismail,
No, this indexer includes unpublished items, which it needs to. Here is the indexer settings:
No there is nothing logged. (in the App_Data/Logs log files, if that's what you mean).
The 900 nodes also happen to be the first 900, which I've worked out in my event handler. Here is the function called by my event handler:
Ismail, did you get a chance to look at this?
is working on a reply...