[infinispan-issues] [JBoss JIRA] Updated: (ISPN-1087) QueryFactory Object does not exist

Jeff LaFrate (JIRA) jira-events at lists.jboss.org
Mon May 9 09:44:23 EDT 2011


     [ https://issues.jboss.org/browse/ISPN-1087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff LaFrate updated ISPN-1087:
-------------------------------

    Description: 
I am trying to query the infinispan cache using your documentation at http://community.jboss.org/wiki/QueryingInfinispan/diff?secondVersionNumber=19

See section "usage with Infinispan 5":
When using Infinispan 5, it's a bit simpler: you don't need the QueryHelper, and just create a QueryFactory directly from the cache:
 
QueryFactory qf = new QueryFactory(cache);
CacheQuery cacheQuery = qf.getQuery( any org.apache.lucene.search.Query );
List<Object> found = cacheQuery.list();


Problem:
org.infinispan.query.QueryFactory; does not exist in infinispan-query.jar from the Infinispan infinispan-5.0.0.CR1-bin.zip download.


It exists in infinispan-query.jar from infinispan-4.2.1.FINAL
and in the 5.0 API javadoc but not in the infinispan-query.jar from the Infinispan infinispan-5.0.0.CR1-bin.zip download.

Thoughts?
Thanks
Jeff



5/9/11
I would like an example of querying infinispan, using the latest APIs.

org.infinispan.query.impl.CacheQueryImpl;...?
org.apache.lucene.search.Query etc...

Thanks
Jeff

  was:
I am trying to query the infinispan cache using your documentation at http://community.jboss.org/wiki/QueryingInfinispan/diff?secondVersionNumber=19

See section "usage with Infinispan 5":
When using Infinispan 5, it's a bit simpler: you don't need the QueryHelper, and just create a QueryFactory directly from the cache:
 
QueryFactory qf = new QueryFactory(cache);
CacheQuery cacheQuery = qf.getQuery( any org.apache.lucene.search.Query );
List<Object> found = cacheQuery.list();


Problem:
org.infinispan.query.QueryFactory; does not exist in infinispan-query.jar from the Infinispan infinispan-5.0.0.CR1-bin.zip download.


It exists in infinispan-query.jar from infinispan-4.2.1.FINAL
and in the 5.0 API javadoc but not in the infinispan-query.jar from the Infinispan infinispan-5.0.0.CR1-bin.zip download.

Thoughts?
Thanks
Jeff




> QueryFactory Object does not exist
> ----------------------------------
>
>                 Key: ISPN-1087
>                 URL: https://issues.jboss.org/browse/ISPN-1087
>             Project: Infinispan
>          Issue Type: Bug
>    Affects Versions: 5.0.0.CR1
>         Environment: Infinispan infinispan-5.0.0.CR1-bin.zip
>            Reporter: Jeff LaFrate
>            Assignee: Sanne Grinovero
>            Priority: Minor
>              Labels: docs,, wiki
>             Fix For: 5.0.0.CR2
>
>
> I am trying to query the infinispan cache using your documentation at http://community.jboss.org/wiki/QueryingInfinispan/diff?secondVersionNumber=19
> See section "usage with Infinispan 5":
> When using Infinispan 5, it's a bit simpler: you don't need the QueryHelper, and just create a QueryFactory directly from the cache:
>  
> QueryFactory qf = new QueryFactory(cache);
> CacheQuery cacheQuery = qf.getQuery( any org.apache.lucene.search.Query );
> List<Object> found = cacheQuery.list();
> Problem:
> org.infinispan.query.QueryFactory; does not exist in infinispan-query.jar from the Infinispan infinispan-5.0.0.CR1-bin.zip download.
> It exists in infinispan-query.jar from infinispan-4.2.1.FINAL
> and in the 5.0 API javadoc but not in the infinispan-query.jar from the Infinispan infinispan-5.0.0.CR1-bin.zip download.
> Thoughts?
> Thanks
> Jeff
> 5/9/11
> I would like an example of querying infinispan, using the latest APIs.
> org.infinispan.query.impl.CacheQueryImpl;...?
> org.apache.lucene.search.Query etc...
> Thanks
> Jeff

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list