Create a custom Lucene Index for better vocabulary search

Description

See the Oak documentation about creating a custom index.

 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 /oak:index/vocabularyTerms - jcr:primaryType = "oak:QueryIndexDefinition" - type = "lucene" - compatVersion = 2 - async = "async" - evaluatePathRestrictions = true + indexRules + lfs:VocabularyTerm + properties + identifier - analyzed = true - boost = 100 - nodeScopeIndex = true - useInExcerpt = true - ordered = true - propertyIndex = true + label - analyzed = true - boost = 500 - nodeScopeIndex = true - useInExcerpt = true - ordered = true - propertyIndex = true + synonyms - analyzed = true - boost = 30 - nodeScopeIndex = true - useInExcerpt = true + description - analyzed = true - boost = 10 - nodeScopeIndex = true - useInExcerpt = true + parents - analyzed = false - propertyIndex = true - nodeScopeIndex = false - useInExcerpt = false + ancestors - analyzed = false - propertyIndex = true - nodeScopeIndex = false - useInExcerpt = false + others - name = "^[^\/]*$" - isRegexp = true - analyzed = true - nodeScopeIndex = true - useInExcerpt = false

 

Environment

None

Status

Assignee

Bruce He

Reporter

Sergiu Dumitriu

Labels

None

External issue ID

None

External issue ID

None

Sprint

None

Priority

Medium