Your IP vault search issues require systematic fixes across all five critical configuration areas to achieve reliable custom metadata search.
Custom Metadata Indexing: Your custom attributes aren’t properly integrated into the search index pipeline. Navigate to Search Administration > Index Configuration and verify custom attributes are registered:
<indexedAttributes>
<attribute name="tech_class" type="string" indexed="true" stored="true"/>
<attribute name="patent_status" type="string" indexed="true" stored="true"/>
<attribute name="innovation_category" type="string" indexed="true" stored="true"/>
</indexedAttributes>
The stored=“true” flag is crucial - it ensures values are retrievable in search results, not just searchable.
Vault Schema Configuration: Custom attributes need explicit database-level index support. Your vault schema must include index definitions for search performance. Execute these SQL statements:
CREATE INDEX idx_ipvault_tech_class ON IPVault(tech_class);
CREATE INDEX idx_ipvault_patent_status ON IPVault(patent_status);
CREATE INDEX idx_ipvault_innovation_cat ON IPVault(innovation_category);
UPDATE STATISTICS IPVault;
This creates B-tree indexes that reduce query time from 18 seconds to under 2 seconds for exact-match searches.
Search Index Rebuild: The 60% result rate indicates stale index data. Your incremental index updates aren’t capturing custom attribute changes. Perform a complete index rebuild:
- Navigate to Search Admin > Index Management
- Select IP Vault index
- Choose “Full Rebuild” (not incremental)
- Enable “Include Extension Attributes” option
- Start rebuild process (expect 2-4 hours for large vaults)
Schedule full rebuilds weekly until search accuracy stabilizes above 95%.
Full-Text Indexing: Custom metadata fields need explicit full-text indexing enablement. Modify search configuration in ipvault-search.xml:
<fullTextIndexing enabled="true">
<field name="tech_class" analyzer="keyword"/>
<field name="patent_status" analyzer="keyword"/>
<field name="innovation_category" analyzer="standard"/>
</fullTextIndexing>
Keyword analyzer for controlled vocabulary fields, standard analyzer for free-text fields.
Query Optimization: Your REST API query syntax needs adjustment for custom attributes. Use the custom attribute prefix:
GET /api/vault/search?custom.tech_class=AI&custom.patent_status=filed
The custom. prefix ensures the search engine routes queries to the custom attribute index rather than attempting standard vault property searches.
Additionally, implement query result caching for frequently used metadata combinations:
vault.search.cache.enabled=true
vault.search.cache.ttl=3600
vault.search.cache.maxSize=1000
After implementing all five fixes, test with known datasets where you have exact counts. Verify search returns 95%+ of expected results and query times drop below 3 seconds. Monitor search logs for index hit rates to confirm proper index utilization.
This draft is based on general ENOVIA knowledge. It has not been verified against your specific version and environment. Practitioners: verify the steps and share your experience below.