Umbraco v 10.8.3
I am importing 10000+ product data into Umbraco and I am indexing the data to a external LUCENE INDEX folder. LuceneIndex is created to perform facetted search. SAVEANDPUBLISH 10000+ content via code takes long time. I am wondering, If there is a way in Umbraco to exclude the PRODUCT document type from indexing so the SAVEANDPUBLISH will be quicker. https://docs.umbraco.com/umbraco-cms/reference/searching/examine/indexing documentation gives an example to create CUSTOM INDEX in examine on a specific document type.
And then register a custom IValueSetBuilder that inherits from the default one for content?
r
Ramya Devendiran
02/14/2024, 8:20 AM
Thanks for your response. The external LUCENE index that I created for the "Product" contents is to perform facet search. It is working fine. The question is to exclude "product" data from umbraco examine index. Backoffice user will not search for the product data from the backoffice. Skipping 10000+ content from indexing might improve the backoffice performance. I didnt understand usage of IValueSetEditor in context of document type (not on its properties). I really appreciate if you could provide a sample code to use IVALUESETVALIDATOR on category "content".