Removing vitro:keyword indexing to improve performance of lucene index build NIHVIVO-1795

This commit is contained in:
bdc34 2011-02-03 13:45:59 +00:00
parent a98cbfe470
commit 1a2e4b4c47

View file

@ -155,16 +155,6 @@ public class Entity2LuceneDoc implements Obj2DocIface{
Field.Store.YES, Field.Index.NOT_ANALYZED));
}
//Keywords
for( String word : ent.getKeywords()){
if( word != null ){
Field kwf = new Field(term.KEYWORDS, word,
Field.Store.YES, Field.Index.NOT_ANALYZED);
kwf.setBoost( KEYWORD_BOOST );
doc.add( kwf );
}
}
//Modification time
if( ent.getModTime() != null){
value = (new DateTime(ent.getModTime().getTime()))