Changeset 36263


Ignore:
Timestamp:
2022-06-20T15:22:39+12:00 (2 weeks ago)
Author:
kjdon
Message:

rank and none are also special words (for sortfields), along with text and allfields (for indexes), so don't put ex. with them

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/cdm/CollectionConfigXMLReadWrite.java

    r36262 r36263  
    369369            String content_str = content_tokenizer.nextToken();
    370370            // Since the contents of indexes have to be certain keywords, or metadata elements, if the content isn't a keyword and doesn't yet have a namespace, append the extracted metadata namespace.
    371             if (content_str.indexOf(StaticStrings.NS_SEP) == -1 && !(content_str.equals(StaticStrings.TEXT_STR) || content_str.equals(StaticStrings.ALLFIELDS_STR)))
     371            if (content_str.indexOf(StaticStrings.NS_SEP) == -1 && !(content_str.equals(StaticStrings.TEXT_STR) || content_str.equals(StaticStrings.ALLFIELDS_STR) || content_str.equals(StaticStrings.NONE_STR) || content_str.equals(StaticStrings.RANK_STR)))
    372372                {
    373373                content_str = StaticStrings.EXTRACTED_NAMESPACE + content_str;
Note: See TracChangeset for help on using the changeset viewer.