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 <avl...@gmail.com> 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