Changeset 2254 for trunk/java-client/org/nzdl/gsdl/service
- Timestamp:
- 2001-04-02T18:09:30+12:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/java-client/org/nzdl/gsdl/service/NzdlQuery.java
r2253 r2254 104 104 * @param case if false then sets query to be case sensitive. If true 105 105 * then sets query to be case insenstive. 106 */ 106 * 107 * removed the string version - surely we only need a boolean method here 108 * Dave 109 * 107 110 public void setCaseFolding(String _case) { 108 111 m_Options.put("CaseFold", _case); 109 112 } 113 */ 110 114 111 115 /** … … 126 130 * @param stem if "true", sets query to strip endings such as "...ing", 127 131 * "...ed". If "false", sets query to only match whole words. 128 * /132 * 129 133 public void setStemming(String _stem) { 130 134 m_Options.put("Stem", _stem); 135 } 136 * 137 * removed the string version - surely we only need a boolean method here 138 * Dave 139 */ 140 141 /** 142 * Sets query to ignore word endings. Default is "false." 143 * @param stem if "true", sets query to strip endings such as "...ing", 144 * "...ed". If "false", sets query to only match whole words. 145 */ 146 public void setStemming(boolean _stem) { 147 if (_stem == true) 148 m_Options.put("Stem", "true"); 149 else 150 m_Options.put("Stem", "false"); 131 151 } 132 152
Note:
See TracChangeset
for help on using the changeset viewer.