search engine indexes with information loaded from my DB

View: New views
2 Messages — Rating Filter:   Alert me  

search engine indexes with information loaded from my DB

by Minella Stefano :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi to all,
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.
The internal search engine indexes also the second kind of pages or only the pages with the containers?
Thank you
bye
stefano
 

_______________________________________________
dev_list mailing list
dev_list@...
http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list

Re: search engine indexes with information loaded from my DB

by Benjamin Papez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ciao Stefano,

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.

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.

Let me know if you need more help with it.

Bye,
Benjamin

PS: Have you seen that Jahia 6 has been released (demo: http://demo.jahia.org/cms). I am currently finishing the first integrated faceted search implementation - a feature which would have helped you in solving your product tree navigation.

On 10.03.2009 17:20 Minella Stefano wrote:
Hi to all,
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.
The internal search engine indexes also the second kind of pages or only the pages with the containers?
Thank you
bye
stefano
 

_______________________________________________ dev_list mailing list dev_list@... http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list

_______________________________________________
dev_list mailing list
dev_list@...
http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list