[infinispan-dev] [hibernate-dev] [HSearch] DSL for Lucene queries (was: Re: Query module new API and configurations)

Ray Hilton ray at wirestorm.net
Fri Sep 25 10:48:12 EDT 2009


I'm all for a DSL for Lucene, I think this would be an interesting,
self-contained, project that I would be eager to contribute too.

Ray

On Sat, Sep 26, 2009 at 12:12 AM, Navin Surtani <nsurtani at redhat.com> wrote:
> Just wanted to get this topic re-started again.
>
>
> Essentially what I think this project/DSL/module/thingy-bob is thought
> to become: -
>
> A simple package where a user can build Lucene queries without having
> to know too much about Lucene itself. If I'm headed down the wrong
> thought path then just thwack me.
>
>
>
> On 26 Aug 2009, at 21:08, Hardy Ferentschik wrote:
>
>> On Wed, 2009-08-26 at 13:39 +0200, Emmanuel Bernard wrote:
>>> I've been thinking about a DSL to build Lucene queries in the last
>>> day.
>>> What do you think of this proposal?
>>
>> What do you really gain compared to native Lucene queries?
>
> What's gained I believe is the fact that people can build complex
> lucene queries easier. Currently, it's a bit clunky imo so if we
> provide a cleaner way to build them it can prove beneficial to any
> lucene user (myself included for querying on Infinispan).
>
> Any other thoughts?
>
>
>> If your API achieves exactly the same as what's possible with Lucene
>> it is just a 'useless' wrapper.
>>
>> A wrapper around native Lucene queries would make sense if it could
>> somehow use some of the Hibernate Search specific meta data. As an
>> extreme example one could generate some meta classes a la JPA2. This
>> way
>> one could ensure that you can get help with which field names are
>> available.
>>
>> --Hardy
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
> Navin Surtani
>
> Intern Infinispan
> Intern JBoss Cache Searchable
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>



-- 
Ray Hilton
-
         email: ray at wirestorm.net
 melbourne: +61 (0) 3 9077 0513
       mobile: +61 (0) 430 484 708



More information about the infinispan-dev mailing list