add asEsIndex method
This commit is contained in:
parent
90a8eed3b3
commit
497c3a6d29
2 changed files with 10 additions and 2 deletions
|
@ -16,10 +16,14 @@
|
|||
package org.codelibs.fess.es.config.exbhv;
|
||||
|
||||
import org.codelibs.fess.es.config.bsbhv.BsRelatedContentBhv;
|
||||
import org.codelibs.fess.util.ComponentUtil;
|
||||
|
||||
/**
|
||||
* @author FreeGen
|
||||
*/
|
||||
public class RelatedContentBhv extends BsRelatedContentBhv {
|
||||
|
||||
@Override
|
||||
protected String asEsIndex() {
|
||||
return ComponentUtil.getFessConfig().getIndexConfigIndex();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,10 +16,14 @@
|
|||
package org.codelibs.fess.es.config.exbhv;
|
||||
|
||||
import org.codelibs.fess.es.config.bsbhv.BsRelatedQueryBhv;
|
||||
import org.codelibs.fess.util.ComponentUtil;
|
||||
|
||||
/**
|
||||
* @author FreeGen
|
||||
*/
|
||||
public class RelatedQueryBhv extends BsRelatedQueryBhv {
|
||||
|
||||
@Override
|
||||
protected String asEsIndex() {
|
||||
return ComponentUtil.getFessConfig().getIndexConfigIndex();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue