[SOLR-10144] redesign block-join support - ASF JIRA
Scopes in schema.xml
- fields can be grouped with <scope name="parent" default="true">;
- such fields' scoping is not mandatory, postponable, might cause rbdbms illusion
- it can be any level deep, and fan out any subscopes (a scope name is necessary to distinguish between sons and daugthers subscopes);
- I'm not sure whether name is uniq globally or names in traverse path is unique. I'd like the former;
- btw, maybe type ;
- default attribute is necessary to map existing blocks, which has only one nesting dimension: childrenDocuments;
- fields beside of scopes (global) can appear on any scope. it should work with uniqueKey. What's semantic of uniqueKey across scopes One recently discussed case it searching for child scope documents, when children uniqKeys should not clash;
- root doc uniqueKey spans on whole block (it's necessary to be used as deleteTerm for block updates), but every doc is identified with own uniqueKey (otherwise it's not possible to find it with distributed search)
- coming to roots how many root scopes we can have? I think we can have a few ones that introducing notion of document types.
Updates
- All formats XML, JSON, JSONdoc, Javabin accept nesting in named scopes;
- Current format (unnamed nesting) is supported by default marked scope;
- field are accepted only if they are defined at the certain scope, beside of the global ones. (see consideration above)
Read full article from [SOLR-10144] redesign block-join support - ASF JIRA
No comments:
Post a Comment