Ignore:
Timestamp:
2017-04-11T23:41:07+12:00 (7 years ago)
Author:
davidb
Message:

Additional _s and _ss fields to help with faceting. Temporarily commented out the full-text page part.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/hathitrust/wcsa/extracted-features-solr/trunk/solr-ingest/src/main/java/org/hathitrust/extractedfeatures/SolrDocJSON.java

    r31510 r31597  
    7373                if (metavalue != null) {
    7474                    solr_doc_json.put(metaname+"_t",metavalue);
     75                    solr_doc_json.put(metaname+"_s",metavalue);
    7576                }
    7677            }
     
    8081                if (metavalues != null) {
    8182                    solr_doc_json.put(metaname+"_t",metavalues);
    82                 }
    83             }
    84            
    85             solr_add_json.put("commitWithin", 5000);
     83                    solr_doc_json.put(metaname+"_ss",metavalues);
     84                }
     85            }
     86           
     87            solr_add_json.put("commitWithin", 60000); // used to be 5000
    8688            solr_add_json.put("doc", solr_doc_json);
    8789
Note: See TracChangeset for help on using the changeset viewer.