Return to list

Indexation et recherche

avatar provided by gravatar.com sduprey | Sep 24, 2009 11:31:11 AM

Indexation et recherche

Bonjour,

J'ai un type de document livre dont le champ "code ISBN" est indexé par Lucène.
Si je recherche le champ ISBN de chacune de mes fiches dans les fichiers d'indexation, ils sont trouvés :
[code]
Fichier binaire ./_2yjr.cfs concorde
[/code]
Seulement quand je fais une recherche sur ce code, en recherchant la chaîne "9782*" (tous les codes de mes fiches commencent par ces 4 chiffres), il ne me trouve que 4 résultats au lieu des 18.

Est-ce que vous avez une idée de pourquoi ?
Merci beaucoup

Vote Score 55

Share

Report

Commentaire

Posted by : sduprey | 30/09/2009 10:19:50
J'ai quand même une erreur d'indexation : [code] Indexer : PageIndexer - Indexer service for pages caught a class java.lang.NullPointerException with message: null 30/09/09 10:16:00 DEBUG [TP-Processor15] lutece.authentication - Accessing url : http://webapps4.netaktiv.com/jsp/admin/search/ManageSearchIndexation.jsp 30/09/09 10:16:09 DEBUG [TP-Processor15] lutece.authentication - Accessing url : http://webapps4.netaktiv.com/jsp/admin/search/DoIndexing.jsp 30/09/09 10:16:58 ERROR [TP-Processor15] lutece.error - Indexing error : null java.lang.NullPointerException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at fr.paris.lutece.portal.business.portlet.PortletHome.findByPrimaryKey(PortletHome.java:75) at fr.paris.lutece.portal.business.portlet.AliasPortlet.getXslParams(AliasPortlet.java:133) at fr.paris.lutece.portal.service.page.PageService.getPageContent(PageService.java:444) at fr.paris.lutece.portal.service.search.PageIndexer.getDocument(PageIndexer.java:155) at fr.paris.lutece.portal.service.search.PageIndexer.getDocuments(PageIndexer.java:82) at fr.paris.lutece.portal.service.search.IndexationService.processIndexing(IndexationService.java:148) at fr.paris.lutece.portal.web.search.SearchIndexationJspBean.doIndexing(SearchIndexationJspBean.java:87) at org.apache.jsp.jsp.admin.search.DoIndexing_jsp._jspService(DoIndexing_jsp.java:65) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at fr.paris.lutece.portal.service.filter.MainFilter.doFilter(MainFilter.java:101) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at fr.paris.lutece.portal.web.upload.UploadFilter.doFilter(UploadFilter.java:144) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at fr.paris.lutece.portal.web.upload.DosGuardFilter.doFilter(DosGuardFilter.java:126) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at fr.paris.lutece.portal.web.user.AuthenticationFilter.doFilter(AuthenticationFilter.java:137) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at fr.paris.lutece.portal.web.encoding.EncodingFilter.doFilter(EncodingFilter.java:86) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) 30/09/09 10:16:58 ERROR [TP-Processor15] lutece.error - Indexing error : null java.lang.NullPointerException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at fr.paris.lutece.portal.business.portlet.PortletHome.findByPrimaryKey(PortletHome.java:75) at fr.paris.lutece.portal.business.portlet.AliasPortlet.getXslParams(AliasPortlet.java:133) at fr.paris.lutece.portal.service.page.PageService.getPageContent(PageService.java:444) at fr.paris.lutece.portal.service.search.PageIndexer.getDocument(PageIndexer.java:155) at fr.paris.lutece.portal.service.search.PageIndexer.getDocuments(PageIndexer.java:82) at fr.paris.lutece.portal.service.search.IndexationService.processIndexing(IndexationService.java:148) at fr.paris.lutece.portal.web.search.SearchIndexationJspBean.doIndexing(SearchIndexationJspBean.java:87) at org.apache.jsp.jsp.admin.search.DoIndexing_jsp._jspService(DoIndexing_jsp.java:65) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at fr.paris.lutece.portal.service.filter.MainFilter.doFilter(MainFilter.java:101) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at fr.paris.lutece.portal.web.upload.UploadFilter.doFilter(UploadFilter.java:144) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at fr.paris.lutece.portal.web.upload.DosGuardFilter.doFilter(DosGuardFilter.java:126) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at fr.paris.lutece.portal.web.user.AuthenticationFilter.doFilter(AuthenticationFilter.java:137) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at fr.paris.lutece.portal.web.encoding.EncodingFilter.doFilter(EncodingFilter.java:86) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) [/code]
 

 Top of the page

Return to list