summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/resources/schema
diff options
context:
space:
mode:
authorgjoranv <gv@yahoo-inc.com>2017-01-11 16:05:53 +0100
committergjoranv <gv@yahoo-inc.com>2017-01-11 16:05:53 +0100
commit82b25369b093f9b36622710a01aa2fc7923da77d (patch)
tree299d34d24c8c02bc1964af462f5bc376f1fd522a /config-model/src/main/resources/schema
parentbe8d6243fc6496c8929b1c15780d1bc729ea74e5 (diff)
Remove support for 'qrservers' from rnc schema.
Diffstat (limited to 'config-model/src/main/resources/schema')
-rw-r--r--config-model/src/main/resources/schema/search.rnc100
1 files changed, 0 insertions, 100 deletions
diff --git a/config-model/src/main/resources/schema/search.rnc b/config-model/src/main/resources/schema/search.rnc
index cd02c405206..0cde860a8b6 100644
--- a/config-model/src/main/resources/schema/search.rnc
+++ b/config-model/src/main/resources/schema/search.rnc
@@ -4,106 +4,6 @@ namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0"
include "searchchains.rnc"
include "container.rnc"
-Search = element search {
- attribute version { "2.0" } &
- GenericConfig* &
- SearchDefinitions? &
- SCluster*
-}
-
-ModeStreaming = attribute indexingmode { string "streaming" | string "STREAMING" } &
- attribute storagecluster { xsd:NCName }
-
-QRServerOptionsElems =
- element cacheoptions {
- attribute cluster { list { xsd:NCName+ } }? &
- ## Size in megabytes
- element size { xsd:nonNegativeInteger }?
- }* &
- element resultlimits {
- attribute maxhits { xsd:nonNegativeInteger }? &
- attribute maxoffset { xsd:nonNegativeInteger }? &
- attribute maxgroups { xsd:nonNegativeInteger }?
- }? &
- element accesslog { string "queryaccesslog" | string "yapacheaccesslog" | string "disabled" }?
-
-SearchDefinitions = element searchdefinitions {
- element searchdefinition {
- attribute name { text }
- }+
-}
-
-TopLevelDispatchers = element topleveldispatchers {
- element topleveldispatcher {
- attribute preferlocalrow { text }? &
- service.attlist &
- GenericConfig*
- }+ &
- GenericConfig*
-}
-
-ModeRealTime = attribute indexingmode { string "realtime" | string "REALTIME" }
-
-ClusterCommon = attribute name { xsd:NCName }? &
- GenericConfig* &
- ( ModeRealTime | ModeStreaming )? &
- # TODO: Rename?
- element visibilitydelay { xsd:double { minInclusive = "0.0" } }? &
- element querytimeout { xsd:double { minInclusive = "0.0" } }? &
- SearchDefinitions
-
-
-Indexing = element indexing {
- attribute indexingclustername { text }? &
- attribute chain { text }? &
- #Below element is deprecated and has no effect:
- element documentprocessors {
- DocumentProcessorV3+
- }?
-}
-
-SCluster = element cluster {
- # name defaults to 'search'
- ClusterCommon &
- attribute minnodespercolumn { xsd:nonNegativeInteger }? &
- Indexing? &
- element documents {
- attribute feedname { text }?,
- # TODO: check if 'true' works for getting all, and disallow empty in selection language.
- attribute selection { text }?
- }? &
- # TODO: remove in the future...
- element resultlimits {
- attribute maxhits { xsd:nonNegativeInteger }? &
- attribute maxoffset { xsd:nonNegativeInteger }?
- }? &
- element oos {
- attribute auto { xsd:boolean } &
- attribute timeout { xsd:nonNegativeInteger }? &
- attribute min-in-service-per-column { xsd:positiveInteger }?
- }? &
- # Default is that one clustercontroller is created on a qrserver node in javacode
- element clustercontrollers {
- element clustercontroller { service.attlist & GenericConfig* }+
- }? &
- # Defaults is that two topleveldispatchers are created (one each on different
- # qrserver nodes, only one created if one qrserver node specified) in javacode
- TopLevelDispatchers? &
- element row {
- GenericConfig* &
- (attribute index { xsd:nonNegativeInteger },
- element searchnodes {
- element searchnode {
- service.attlist &
- GenericConfig* &
- attribute index { xsd:nonNegativeInteger } &
- attribute engine { text }?
- }+
- })
- }* &
- Tuning?
-}
-
Tuning = element tuning {
element dispatch {
element max-hits-per-partition { xsd:nonNegativeInteger }?