root/branches/trivoallan/config/search.yml

Revision 2, 3.5 kB (checked in by nperriault, 10 months ago)

First commit of the extracted code from production, I hope no passwd has been forgotten :-)

Line 
1 MyIndex:
2   models:
3     Application:
4       fields:
5         id:                 unindexed
6         name:
7           boost:            1.5
8           type:             text
9         slug:               text
10         description:        text
11         homepage:
12           boost:            1.5
13           type:             text
14         licence:            text
15         countryName:        text
16         developersString:
17           boost:            1.5
18           type:             text
19         companiesString:
20           boost:            1.5
21           type:             text
22         tagsString:
23           boost:            1.3
24           type:             text
25       categories:           [Applications]
26       title:                name
27       description:          description
28       validator:            getIsActive
29     BlogPost:
30       fields:
31         id:                 unindexed
32         title:              text
33         body:
34           type:             text
35           transform:        strip_tags
36           boost:            1.5
37         slug:               text
38       categories:           [Blog posts]
39       title:                title
40       description:          body
41       validator:            getIsPublished
42     Company:
43       fields:
44         name:
45           boost:            1.5
46           type:             text
47         summary:            text
48         slug:               text
49         homepage:
50           boost:            1.5
51           type:             text
52         city:
53           boost:            1.2
54           type:             text
55         state:
56           boost:            1.3
57           type:             text
58         countryName:        text
59         applicationsString:
60           boost:            1.5
61           type:             text
62         peopleString:
63           boost:            1.5
64           type:             text
65       categories:           [Companies]
66       title:                name
67       description:          summary
68       validator:            getIsActive
69     Job:
70       fields:
71         title:
72           boost:            1.5
73           type:             text
74         slug:               text
75         summary:            text
76         city:
77           boost:            1.2
78           type:             text
79         state:
80           boost:            1.3
81           type:             text
82         countryName:        text
83         budget:             text
84       categories:           [Job offers]
85       title:                title
86       description:          summary
87       validator:            getIsActive
88     sfGuardUser:
89       fields:
90         username:           text
91         displayName:
92           boost:            1.5
93           type:             text
94         tracUsername:       text
95         homepage:
96           boost:            1.2
97           type:             text
98         summary:            text
99         city:
100           boost:            1.2
101           type:             text
102         state:
103           boost:            1.3
104           type:             text
105         countryName:        text
106         relatedApplicationsString:
107           boost:            1.5
108           type:             text
109         companiesString:
110           boost:            1.5
111           type:             text
112         skillsString:
113           boost:            1.3
114           type:             text
115       categories:           [People]
116       title:                displayName
117       description:          summary
118       validator:            getIsActive
119
120   index:
121     cultures:               [en, fr]
122     encoding:               UTF-8
123       analyzer:             utf8num
124       case_sensitive:       off
125       mb_string:            on
Note: See TracBrowser for help on using the browser.