Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1197789

Summary: Deprecate support for using Lucene search to query JDG
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Van Halbert <vhalbert>
Component: Integration, TeiidAssignee: Van Halbert <vhalbert>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: atangrin, dlesage, felias, jdurani, lfabriko, vhalbert
Target Milestone: ER1Keywords: Documentation
Target Release: 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The infinispan-cache translator is deprecating the support for using Lucene to search a JDG cache. This is because the JDG DSL query language provides the most features that match SQL querying. And therefore, no need to support 2 underlying querying options.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-24 11:46:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Van Halbert 2015-03-02 15:44:49 UTC
When configured Teiid to create the cache using an Infinispan config file, get the following exception:

java.lang.IllegalArgumentException: Indexing was not enabled on this cache. interface org.hibernate.search.spi.SearchFactoryIntegrator not found in registry
	at org.infinispan.query.impl.ComponentRegistryUtils.getComponent(ComponentRegistryUtils.java:27)
	at org.infinispan.query.impl.ComponentRegistryUtils.getComponent(ComponentRegistryUtils.java:20)
	at org.infinispan.query.impl.SearchManagerImpl.<init>(SearchManagerImpl.java:46)
	at org.infinispan.query.Search.getSearchManager(Search.java:37)
	at org.infinispan.query.Search.getQueryFactory(Search.java:26)
	at org.teiid.resource.adapter.infinispan.DSLSearch.getQueryBuilder(DSLSearch.java:172)
	at org.teiid.resource.adapter.infinispan.DSLSearch.performSearch(DSLSearch.java:123)
	at org.teiid.resource.adapter.infinispan.DSLSearch.performSearch(DSLSearch.java:116)
	at org.teiid.translator.object.ObjectExecutionFactory.search(ObjectExecutionFactory.java:97)
	at org.teiid.translator.object.ObjectExecution.execute(ObjectExecution.java:100)

Comment 2 Van Halbert 2015-03-30 12:46:38 UTC
Since Teiid does not own the data source (JDG), it takes the position that it doesn't configure the data source.   The configuration by file will be removed.

Comment 4 Van Halbert 2015-09-08 15:37:49 UTC
With DV 6.3, deprecate the support for querying JDG using lucene.  The use of DSL will be the option to use.

Comment 5 JBoss JIRA Server 2016-01-23 22:04:04 UTC
Van Halbert <vhalbert> updated the status of jira TEIID-3559 to Open

Comment 6 JBoss JIRA Server 2016-01-25 18:46:44 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-3559 to Resolved

Comment 7 Lucie Fabrikova 2016-07-27 10:40:59 UTC
May I ask in which section it should be added?

Comment 8 Juraj Duráni 2016-08-05 07:27:49 UTC
Van,
this has been change to documentation issue but there is no doc update. At least David did not provide any information here.
As BZ's name is "Deprecate support...", I would expect an update in the documentation. So, how could we verify this BZ?

Comment 9 Van Halbert 2016-08-05 12:44:46 UTC
The documentation related to using the "infinispan-cache" (library mode) is in the object translator [1], it never had its own home.  Section 13.22.2 is where is has this support for Lucene searching option specified.  That's been deprecated.





[1] https://access.qa.redhat.com/documentation/en/red-hat-jboss-data-virtualization/6.3/single/development-guide-volume-3-reference-material#sect-Object_Translator

Comment 10 Juraj Duráni 2016-08-05 12:51:08 UTC
Thanks Van for URL.
Setting to ASSIGNED. There is no note/warning about deprecation.

Comment 11 David Le Sage 2016-08-08 04:04:46 UTC
I have added a note to that section.  I have also added the same note to the Release Notes document.