View Javadoc

1   /*
2    * Copyright (2005-2008) Schibsted Søk AS
3    * This file is part of SESAT.
4    *
5    *   SESAT is free software: you can redistribute it and/or modify
6    *   it under the terms of the GNU Affero General Public License as published by
7    *   the Free Software Foundation, either version 3 of the License, or
8    *   (at your option) any later version.
9    *
10   *   SESAT is distributed in the hope that it will be useful,
11   *   but WITHOUT ANY WARRANTY; without even the implied warranty of
12   *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13   *   GNU Affero General Public License for more details.
14   *
15   *   You should have received a copy of the GNU Affero General Public License
16   *   along with SESAT.  If not, see <http://www.gnu.org/licenses/>.
17   */
18  package no.sesat.search.util;
19  
20  /**
21   * A SearchConstants.
22   * <p/>
23   * Various constants in use in application.
24   *
25   * @deprecated constants should be defined in the class that is primarily responsible for it.
26   *
27   * @version $Id: SearchConstants.java 6596 2008-05-10 10:05:48Z ssmiweve $
28   */
29  public final class SearchConstants {
30  
31  
32  
33      public static final String PROPERTY_KEY___QR_SERVER = "qrserver";                //property key
34      public static final String PROPERTY_KEY___TV_PATTERN = "tv-pattern";            //property key
35      public static final String _COLLECTION_KEY = "default-collection";            //property file key
36      public static final String _SPELLCHECK = "spellcheck";                            //property file key
37      public static final String _LANGUAGE = "default-language";                        //property file key
38      public static final String _WEBCRAWL_TEMPLATE = "webcrawl-template";
39      public static final String PIPELINE = "processList";
40      public static final String DEFAULTCOLLECTION = "search_all_collections";
41      public static final String COUNTERNAVIGATOR = "get_doc_counts_only";
42      public static final String COUNTERNAVIGATORSTRING = "contentsourcenavigator";
43      public static final String WEBCRAWL_COLLECTION = "webcrawl";
44      public static final String WEBCRAWL_COLLECTION_NAVIGATOR = "Norske nettsider";
45      public static final String MEDIA_COLLECTION = "retriever";
46      public static final String MEDIA_COLLECTION_NAVIGATOR = "Norske nyheter";
47      public static final String WIKI_COLLECTION = "wikipedia";
48      public static final String WIKI_COLLECTION_NAVIGATOR = "Wikipedia";
49      public static final String REQUEST_PARAM_COMPANIES_INDEX = "y";
50      public static final String COMPANIES_COLLECTION = "yellow";
51      public static final String COMPANIES_COLLECTION_NAVIGATOR = "Gule sider";
52      public static final String BASE_PIPELINE = "standardPipeline";
53  
54      public static final String DEFAULT_LANGUAGE = "no";
55      public static final String LANGUAGE_ENGLISH = "en";
56  
57      public static final String REQUEST_KEYPARAM_QUERY = "q";
58      public static final String REQUEST_KEYPARAM_LANGUAGE = "lan";
59  
60      public static final String REQUEST_KEYPARAM_DOCUMENTS_TO_RETURN = "d";
61  
62      public static final Object REQUEST_PARAM_WIKICOLLECTION = "wiki";
63  
64      public static final String STD_CONTENT_TYPE = "text/html";
65  
66      public static final String FAST_COMPANY_ID_FIELD = "recordid";
67      public static final String PERSONS_COLLECTION = "white";
68  
69      public static final Object REQUEST_PARAM_PERSONS_INDEX = "w";
70      public static final String MOREOVER_COLLECTION = "moreover";
71      public static final String PERSON_ID_FIELD = "personId";
72      public static final String NORDIC_NEWS_COLLECTION = "retrievernordic";
73      public static final String PIC_SEARCH_HOST = "license.picsearch.com";
74      public static final String WEATHER_SEARCH_HOST = "www.storm.no/kunder/schibsted";
75  
76  }
77  
78  
79