Changeset 29330 for main/trunk/gli/src
- Timestamp:
- 2014-09-23T18:30:02+12:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/cdm/CollectionConfigXMLReadWrite.java
r29312 r29330 2407 2407 { 2408 2408 DebugStream.println("There should be an IndexOption element which is assigned 'true': possible bug."); 2409 return; 2409 2410 // for lucene and solr collections, don't write out stemming, casefolding and accentfolding indexOptions 2411 // since they are not meant to be editable: stemming and casefolding are always on in lucene 2412 String buildtype_value = search.getAttribute(StaticStrings.TYPE_ATTRIBUTE); //might be mg|mgpp|lucene|solr 2413 if(buildtype_value.equalsIgnoreCase("solr") || buildtype_value.equalsIgnoreCase("lucene")) { 2414 return; 2415 } 2410 2416 } 2411 2417 //Element indexOptionEl = to.createElement(StaticStrings.INDEXOPTION_STR);
Note:
See TracChangeset
for help on using the changeset viewer.