aboutsummaryrefslogtreecommitdiffstats
path: root/document/src/test/java/com/yahoo/document/datatypes/blog.sd
blob: bb077760894eabcacbb3d5a6313e78a9b7ef2a32 (plain) (blame)
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
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search blog {

  document blog {

    field title type string {
        indexing: summary | index
    }

    field author type string {
	    indexing: summary | index
    }

    field body type string {
	    indexing: summary | index
    }

    field url type uri {
	    indexing: index | summary
    }
  }

  annotation industry {
    field vertical type string {}
  }

  annotation company inherits industry {
    field name type string {}
	field ceo type string {}	
	field lat type long {}
	field lon type long {}
  }

  annotation person {
	field name type string {}
  }

  annotation location {
  	field name type string {}
  }
}