equal
deleted
inserted
replaced
109 /** |
109 /** |
110 * The default field to search for (aggregate of the contents of |
110 * The default field to search for (aggregate of the contents of |
111 * other fields). |
111 * other fields). |
112 */ |
112 */ |
113 #define LCPIX_DEFAULT_FIELD L"_aggregate" |
113 #define LCPIX_DEFAULT_FIELD L"_aggregate" |
|
114 |
|
115 /** |
|
116 * The default field to search for prefixes (aggregate of the contents of |
|
117 * prefixes of other fields). |
|
118 */ |
|
119 #define LCPIX_DEFAULT_PREFIX_FIELD L"_aggregate_prefix" |
114 |
120 |
115 |
121 |
116 /** |
122 /** |
117 * Documents, as created by the client may undergo a further |
123 * Documents, as created by the client may undergo a further |
118 * the document. Such pre-index processing stage is invoked by |
124 * the document. Such pre-index processing stage is invoked by |
205 #define LBOOKMARK_MIMETYPE L"application/bookmark" |
211 #define LBOOKMARK_MIMETYPE L"application/bookmark" |
206 #define APPLICATION_MIMETYPE "application/application" |
212 #define APPLICATION_MIMETYPE "application/application" |
207 #define LAPPLICATION_MIMETYPE L"application/application" |
213 #define LAPPLICATION_MIMETYPE L"application/application" |
208 #define NOTES_MIMETYPE "application/notes" |
214 #define NOTES_MIMETYPE "application/notes" |
209 #define LNOTES_MIMETYPE L"application/notes" |
215 #define LNOTES_MIMETYPE L"application/notes" |
|
216 #define FILE_MIMETYPE "type/file" |
|
217 #define LFILE_MIMETYPE L"type/file" |
|
218 #define FOLDER_MIMETYPE "type/folder" |
|
219 #define LFOLDER_MIMETYPE L"type/folder" |
210 |
220 |
211 /* |
221 /* |
212 * Analyzer definition related constants |
222 * Analyzer definition related constants |
213 *********************************************** |
223 *********************************************** |
214 */ |
224 */ |
230 #define CPIX_FILTER_LOWERCASE L"lowercase" |
240 #define CPIX_FILTER_LOWERCASE L"lowercase" |
231 #define CPIX_FILTER_ACCENT L"accent" |
241 #define CPIX_FILTER_ACCENT L"accent" |
232 #define CPIX_FILTER_STOP L"stop" |
242 #define CPIX_FILTER_STOP L"stop" |
233 #define CPIX_FILTER_STEM L"stem" |
243 #define CPIX_FILTER_STEM L"stem" |
234 #define CPIX_FILTER_LENGTH L"length" |
244 #define CPIX_FILTER_LENGTH L"length" |
|
245 #define CPIX_FILTER_PREFIXES L"prefixes" |
235 |
246 |
236 #define CPIX_WLANG_EN L"en" |
247 #define CPIX_WLANG_EN L"en" |
237 #define CPIX_WLANG_FI L"fi" |
248 #define CPIX_WLANG_FI L"fi" |
238 #define CPIX_WLANG_HU L"hu" |
249 #define CPIX_WLANG_HU L"hu" |
239 #define CPIX_WLANG_RU L"ru" |
250 #define CPIX_WLANG_RU L"ru" |
240 |
251 |
|
252 #define MAX_EXCERPT_LENGTH 125 //maximum exceprt length |
|
253 |
241 #endif /*__CPIXMAINDEFS_H__*/ |
254 #endif /*__CPIXMAINDEFS_H__*/ |