source: main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/GS2Params.java@ 24395

Last change on this file since 24395 was 16868, checked in by kjdon, 16 years ago

changed the name in the file

  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1/*
2 * GS2Params.java
3 * Copyright (C) 2008 New Zealand Digital Library, http://www.nzdl.org
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program 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 General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19package org.greenstone.gsdl3.util;
20
21public class GS2Params extends GSParams {
22
23 public GS2Params() {
24 super();
25
26 // now add in all the service ones we will be using
27 addParameter("stem", true);
28 addParameter("case", true);
29 addParameter("accent", true);
30 addParameter("index", true);
31 addParameter("matchMode", true);
32 addParameter("maxDocs", true);
33 addParameter("query", true);
34 addParameter("level", true);
35 addParameter("qb", true); // queryBox
36 addParameter("qm", true); // queryMode
37 addParameter("qt", true); // query type
38 addParameter("qfm", true); // query form mode
39 addParameter("qfn", true); // query form number of boxes
40 addParameter("ct", true); // collection type - mg or mgpp
41
42 }
43
44}
Note: See TracBrowser for help on using the repository browser.