/** * Controls if this fields content is used in the search result excerpt.<p> * * @param excerpt if <code>"true"</code>, then this fields content is used in the search excerpt * * @see #setInExcerpt(boolean) */ public void setInExcerpt(String excerpt) { setInExcerpt(Boolean.valueOf(String.valueOf(excerpt)).booleanValue()); }
fieldObject.setInExcerpt(true); writeConfiguration(true); fieldObject.setInExcerpt(false); writeConfiguration(true);
setIndexed(isIndexed); setTokenized(isTokenized); setInExcerpt(isInExcerpt); setAnalyzer(analyzer);