Removing vitro:keyword indexing to improve performance of lucene index build NIHVIVO-1795
This commit is contained in:
parent
a98cbfe470
commit
1a2e4b4c47
1 changed files with 0 additions and 10 deletions
|
@ -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()))
|
||||
|
|
Loading…
Add table
Reference in a new issue