[ 
https://issues.apache.org/jira/browse/OAK-2511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chetan Mehrotra updated OAK-2511:
---------------------------------
    Attachment: OAK-2511-chetan-1.patch

[patch|^OAK-2511-chetan-1.patch] for few changes

The facets config is at 2 level. Looks like I confused you when I mentioned to 
move facet config to a separate node. What I intended was that top level facet 
config should be moved to separate node (#1 below). While property level facet 
config (which I think is a single property) remaining a direct property in 
property definition node (#2 below)
# Index definition level - For enabling security check
{noformat}
luceneIndex (oak:QueryIndexDefinition)
  - type (string) = 'lucene' mandatory
  + indexRules (nt:unstructured)
  + analyzers (nt:unstructured)
  + facets (nt:unstructured)
     - secure (boolean) = true
{noformat}
# Property definition level - For enabling facets on specific property
{noformat}
  + indexRules
    - jcr:primaryType = "nt:unstructured"
    + app:Asset
      + properties
        - jcr:primaryType = "nt:unstructured"
        + type
          - facets = true
          - nodeScopeIndex = true
          - name = "jcr:content/metadata/type"
{noformat}

*NodeStateFacetsConfig*
This class is currently adding some nodes at indexing time a node {{config}} 
directly under index definition node. What does this config serves? Is it meant 
to be in visible index definition part (then it becomes part of any index 
config export). Or it should be part of some hidden node. Also is this only 
used at indexing time or also for query time

> Support for faceted search in Lucene index
> ------------------------------------------
>
>                 Key: OAK-2511
>                 URL: https://issues.apache.org/jira/browse/OAK-2511
>             Project: Jackrabbit Oak
>          Issue Type: Sub-task
>          Components: lucene
>            Reporter: Tommaso Teofili
>            Assignee: Tommaso Teofili
>             Fix For: 1.3.13
>
>         Attachments: OAK-2511-chetan-1.patch
>
>
> A Lucene index should be able to provide faceted search results, based on the 
> support provided in the query engine.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to