Hi all, in jackrabbit 2.x to accomplish specific task we used to have our class extending org.apache.jackrabbit.core.query.lucene.SearchIndex.
package org.apache.jackrabbit.core.query.lucene; public class MYSearchIndex extends SearchIndex { @Override protected Document createDocument(NodeState node, NamespaceMappings nsMappings, IndexFormatVersion indexFormatVersion) throws RepositoryException { NodeIndexer indexer = new MYNodeIndexer( node, getContext().getItemStateManager(), nsMappings, getContext().getExecutor(), getParser()); indexer.setSupportHighlighting(getSupportHighlighting()); indexer.setIndexingConfiguration(getIndexingConfig()); indexer.setIndexFormatVersion(indexFormatVersion); indexer.setMaxExtractLength(getMaxExtractLength()); Document doc = indexer.createDoc(); mergeAggregatedNodeIndexes(node, doc, indexFormatVersion); return doc; } } and then in repository.xml: <SearchIndex class="org.apache.jackrabbit.core.query.lucene.MYSearchIndex"> Do you know if it is possible to do the same in oak? Have a custom NodeIndexer would permits me, for example, to avoid having jcr:mimeType property to index binary content, in my application one single node could have multiple binary property and so I need multiple "mimetype" properties: my-node - resource_data_1: binary... * resource_mimetype_1: application/pdf - resource_data_2: binary... * resource_mimetype_2: text/plain - and so on... Thank Cordiali saluti / Best regards, Raffaele Gambelli Senior Java Developer E raffaele.gambe...@cegeka.com<mailto:raffaele.gambe...@cegeka.com> [CEGEKA] Via Ettore Cristoni, 84 IT-40033 Bologna (IT),Italy T +39 02 2544271 WWW.CEGEKA.COM<https://www.cegeka.com> [https://2655225.fs1.hubspotusercontent-na1.net/hubfs/2655225/0.0%20Cegeka%20(new)/1.%20Visuals/Email%20Signatures/Annual_Report_Visuals_2023_Email%20Banner%201.png]<https://www.cegeka.com/it/annual-report-2023?utm_campaign=[EN]%20-%20Annual%20Report%202023&utm_source=email%20signature%20banner&utm_medium=email%20signature%20banner%20annual%20report%202023> Dichiarazione di Riservatezza Le informazioni contenute nella mail sono riservate. Se si rende conto di non essere il destinatario corretto della mail, la preghiamo di segnalare l'errore al mittente e di cancellare immediatamente il messaggio. L’utilizzo improprio di informazioni riservate può comportare sanzioni. Protezione dei dati personali La informiamo che i suoi dati saranno trattati da Cegeka nel rispetto delle disposizioni di legge applicabili (D. Lgs 196/2003 e Regolamento UE 679/2016). Per maggiori dettagli può consultare le nostre informative privacy al link https://www.cegeka.com/it/informazioni-sulla-privacy.<https://www.cegeka.com/it/informazioni-sulla-privacy>