hu.elte.tribus.services
Class IndexBasedAnsverFinder

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by hu.elte.tribus.services.IndexBasedAnsverFinder
All Implemented Interfaces:
AnsverFinder, org.springframework.beans.factory.InitializingBean

public class IndexBasedAnsverFinder
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements AnsverFinder

This is a simplified implementation of the simplified theory. Plain lucene, indexing persisted beans.

Author:
kocka

Constructor Summary
IndexBasedAnsverFinder()
           
 
Method Summary
 IndexingInterceptor getIndexingInterceptor()
           
 QA getQuestionAndAnsver(java.lang.String question, Conversation conversation)
           
 void setIndexingInterceptor(IndexingInterceptor indexingInterceptor)
           
 
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexBasedAnsverFinder

public IndexBasedAnsverFinder()
Method Detail

getQuestionAndAnsver

public QA getQuestionAndAnsver(java.lang.String question,
                               Conversation conversation)
                        throws QueryException
Specified by:
getQuestionAndAnsver in interface AnsverFinder
Throws:
QueryException

getIndexingInterceptor

public IndexingInterceptor getIndexingInterceptor()

setIndexingInterceptor

public void setIndexingInterceptor(IndexingInterceptor indexingInterceptor)


Copyright © 2006-2007. All Rights Reserved.