Re: search engine indexes with information loaded from my DB
Benjamin Papez <[email protected]> Tue, 10 Mar 2009 17:56:34 +0100
| Newsgroups | gmane.comp.cms.jahia.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============0536351525== Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Ciao Stefano,<br> <br> we are creating one Lucene document per page, one document per container (indexing all fields in the container) and one document per file field (indexing extracted file content). So in the case where you are displaying external data, there should be at least a document for the page. You can use the Luke tool to view or query the created index.<br> <br> If you want to add custom fields to the index, you could perhaps plugin an extended implementation of the ContainerSearchIndexProcessValveImpl and configure your implementation in the containerSearchIndexProcessValve in etc/spring/applicationcontext-pipelines.xml. <br> <br> Let me know if you need more help with it.<br> <br> Bye,<br> Benjamin<br> <br> PS: Have you seen that Jahia 6 has been released (demo: <a class="moz-txt-link-freetext" href="http://demo.jahia.org/cms">http://demo.jahia.org/cms</a>). I am currently finishing the first integrated faceted search implementation - a feature which would have helped you in solving your product tree navigation.<br> <br> On 10.03.2009 17:20 Minella Stefano wrote: <blockquote cite="mid:[email protected]" type="cite"> <meta http-equiv="Content-Type" content="text/html; "> <meta content="MSHTML 6.00.2900.3020" name="GENERATOR"> <div><span class="104401616-10032009"><font face="Arial" size="2">Hi to all,</font></span></div> <div><span class="104401616-10032009"><font face="Arial" size="2">I have a site in Jahia 5 with some pages that use containers, and some other pages that load and show data with a simple query from a custom external database.</font></span></div> <div><span class="104401616-10032009"><font face="Arial" size="2">The internal search engine indexes also the second kind of pages or only the pages with the containers?</font></span></div> <div><span class="104401616-10032009"><font face="Arial" size="2">Thank you</font></span></div> <div><span class="104401616-10032009"><font face="Arial" size="2">bye</font></span></div> <div><span class="104401616-10032009"><font face="Arial" size="2">stefano</font></span></div> <div><span class="104401616-10032009"></span> </div> <pre wrap=""> <hr size="4" width="90%"> _______________________________________________ dev_list mailing list <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> <a class="moz-txt-link-freetext" href="http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list">http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list</a> </pre> </blockquote> </body> </html> --===============0536351525== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dev_list mailing list [email protected] http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list --===============0536351525==--