[infinispan-dev] Querying Infinispan -- Help Needed

Navin Surtani nsurtani at redhat.com
Fri Nov 20 05:30:39 EST 2009


On 20 Nov 2009, at 10:15, Vinoth wrote:

>> I am currently using Hibernate Search 3.1.1 GA
>
> Well there's your issue. There was a change between 3.1.0 and 3.1.1.  
> So that's why we've switched the Infinispan dependency back to 3.1.0.
>
> A fix has been made in HS trunk, and that works fine. On the  
> Infinispan side, at least we're just waiting on the next release of  
> Hibernate Search so we can update our dependencies.
>
> Cool... Thanks for bringing this to our notice. Now the issue is  
> solved, I can search through the elements using  
> CacheQuery.getBasicQuery()
>
> One last thing,
> Since I am a novice to this Hibernate & Hibernate Search,
> Is there any reference documentation to build my knowledge for  
> QueryingInfinispan apart from that wiki page.

In a word - no :-).

However, if you want to get more experience with learning how to query  
this stuff, I'd say have a look at the Lucene documentation and learn  
how to use those queries well. I say this because at the end, all you  
need to do is create a Lucene query and use that to create a  
CacheQuery instance. The complexity here is creating the Lucene query.  
The better you know Lucene, the better you can query the Cache :-).


>
> Or
>
> Where should I start my learning to implement querying feature using  
> Infinispan with the help of technical preview provided in that wiki  
> page.

Again, I think the easy thing here is to learn how to use Lucene  
queries well. Then you know what type of object you have in your Cache  
and will know how to get what you're looking for quite efficiently.

>
> Any pointers please.

Reckon that helps?

>
> Thanks,
> Vinoth

Navin Surtani

Intern Infinispan
Intern JBoss Cache Searchable

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20091120/5cab1651/attachment-0002.html 


More information about the infinispan-dev mailing list