public static class LuceneIndexingParameters.ParameterSet extends Object implements Serializable
| Constructor and Description |
|---|
ParameterSet(Properties prop) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyToWriter(org.apache.lucene.index.IndexWriterConfig writerConfig)
Applies the parameters represented by this to a writer.
|
boolean |
equals(Object obj) |
Integer |
getCurrentValueFor(org.hibernate.search.backend.configuration.impl.IndexWriterSetting ws) |
org.apache.lucene.index.LogByteSizeMergePolicy |
getNewMergePolicy()
Creates a new LogByteSizeMergePolicy as configured by this property set.
|
int |
hashCode() |
void |
setCurrentValueFor(org.hibernate.search.backend.configuration.impl.IndexWriterSetting ws,
Integer newValue) |
String |
toString() |
public ParameterSet(Properties prop)
public void applyToWriter(org.apache.lucene.index.IndexWriterConfig writerConfig)
writerConfig - the IndexWriter configuration whereto the parameters will be applied.public org.apache.lucene.index.LogByteSizeMergePolicy getNewMergePolicy()
public Integer getCurrentValueFor(org.hibernate.search.backend.configuration.impl.IndexWriterSetting ws)
public void setCurrentValueFor(org.hibernate.search.backend.configuration.impl.IndexWriterSetting ws,
Integer newValue)
Copyright © 2006-2023 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.