For solr 1.4
Is basically the same but  IndexSchema (org.apache.solr.schema.IndexSchema)
needs to be updated to include the function 
getFieldTypeByName(String fieldTypeName) which is already in sorl1.5

  /**
   * Given the name of a {...@link org.apache.solr.schema.FieldType} (not to be
confused with {...@link #getFieldType(String)} which
   * takes in the name of a field), return the {...@link
org.apache.solr.schema.FieldType}.
   * @param fieldTypeName The name of the {...@link
org.apache.solr.schema.FieldType}
   * @return The {...@link org.apache.solr.schema.FieldType} or null.
   */
  public FieldType getFieldTypeByName(String fieldTypeName){
    return fieldTypes.get(fieldTypeName);
  }

then the AnalyzedField is a bit different, but basicaclly is a copy of the
TextField as is in 1.4

http://old.nabble.com/file/p27902273/AnalyzedField.java AnalyzedField.java 
-- 
View this message in context: 
http://old.nabble.com/Store-input-text-after-analyzers-and-token-filters-tp27792550p27902273.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to