orbeon / orbeon-forms

Orbeon Forms is an open source web forms solution. It includes an XForms engine, the Form Builder web-based form editor, and the Form Runner runtime.
http://www.orbeon.com/
GNU Lesser General Public License v2.1
518 stars 220 forks source link

Evaluate external search indexes for Form Runner search #1801

Open ebruchez opened 10 years ago

ebruchez commented 10 years ago

Currently, search is done at the database level. We have 2 ways to do search:

Because the data is stored in XML, search with relational databases is not easy, especially with dbs which don't support good XML indexes. So search with MySQL, for example, is bad.

One solution to improve on this was to consider storing all data in relational tables (#1571), so that XML is no longer an issue. This has drawbacks:

Another idea is to keep the XML and universal tables, handle search with a separate search front-end like Solr, Elasticsearch (note that both are based on Apache Lucene!) and, if needed for analytics etc. create separate relational tables in write-only mode (#1069).

One concern is the difficulty of installation. It is an extra moving part. But this might be manageable:

ebruchez commented 9 months ago

+1 from customer today for Elasticsearch