Problems with Lucene executing from Web with jsf. I do not understand because 
perhaps Lucene cannot be used in applications Web? 

This is the instruction that gives error: 

    IndexSearcher oIndexSearcher = new IndexSearcher("C:\\opt\\index");
    Query query = QueryParser.parse(sCadenaBusqueda,"contents",new 
SimpleAnalyzer());



this it is the message of error of jsf:

type Informe de Excepción

mensaje

descripción El servidor encontró un error interno () que hizo que no pudiera 
rellenar este requerimiento.

excepción

javax.servlet.ServletException: Error calling action method of component with 
id helloForm:submit
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:121)
    
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)

causa raíz

javax.faces.FacesException: Error calling action method of component with id 
helloForm:submit
    
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
    javax.faces.component.UICommand.broadcast(UICommand.java:106)
    javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
    javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
    
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316)
    org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
    
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
                
---------------------------------

LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com

Reply via email to