lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noble Paul നോബിള്‍ नोब्ळ् <>
Subject Re: Getting dynamicFields using QueryResponse
Date Sat, 25 Apr 2009 07:24:17 GMT
the getBeans() cannot map dynamic fields to a bean field.

this can be an enhancement request

On Sat, Apr 25, 2009 at 12:01 PM, Avlesh Singh <> wrote:
> Unless I am missing something, there seems to be no way for mapping my
> "dynamicFields" in the index to a solrj bean.
> I am using SolrQuery to fetch a QueryResponse object, and use
> QueryResponse.getBeans(MyAnnotatedClass.class) to fetch beans mapped to my
> index.
> There is no way to map dynamic fields in my index (*_i kind of fields) to
> these beans. Seems as if there is no support in the DocumentObjectBinder
> class as well to do the same.
> Is this a possible enhancement?
> Note: I don't know the name of the dynamic fields upfront.
> Cheers
> Avlesh

--Noble Paul

View raw message