]
Work on ARTIF-722 stopped by Brett Meyer.
-----------------------------------------
Solely use Hibernate Search if query is limited to full-text search
and indexed columns
---------------------------------------------------------------------------------------
Key: ARTIF-722
URL:
https://issues.jboss.org/browse/ARTIF-722
Project: Artificer
Issue Type: Feature Request
Reporter: Brett Meyer
Assignee: Brett Meyer
Now that queries return a summary DTO, if a query only contains full-text search and
columns indexed by Lucene, Hibernate Search can be solely used. There is no need to also
execute the SQL query. For example:
/s-ramp/xsd/XsdDocument[xp2:matches(., 'FizzBuzz')]
Since 'model' and 'type' are both indexed, this could be accomplished
entirely with the Lucene query, skipping SQL.
This idea implies that all properties included in ArtifactSummary would need to be
indexed as well. SQL would be needed only when custom properties, ontologies, or
relationships are required.