Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 85484 invoked from network); 25 Apr 2009 07:25:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Apr 2009 07:25:02 -0000 Received: (qmail 33392 invoked by uid 500); 25 Apr 2009 07:25:01 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 33308 invoked by uid 500); 25 Apr 2009 07:25:01 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 33298 invoked by uid 99); 25 Apr 2009 07:25:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Apr 2009 07:25:01 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of noble.paul@gmail.com designates 209.85.217.164 as permitted sender) Received: from [209.85.217.164] (HELO mail-gx0-f164.google.com) (209.85.217.164) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Apr 2009 07:24:53 +0000 Received: by gxk8 with SMTP id 8so3155801gxk.5 for ; Sat, 25 Apr 2009 00:24:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=cKxCXMtsxNQ9CeKsJkaV/CS484UNDxJmyyv83nfpYbU=; b=idhoJbb8jvHXOYExvBQOYXUFcxFYrNxIOjOI8CR34AZz3N2BPo1TqRS7pYD3D/FrXc 3yhzcs4mngWdKs0/yrCtjIXl/gwOIXZIyxC/zk+7D1IE3FVP7OvMzXeSPt7vP1Rq1Nso m6BXVqObw3U2Rkfs0tICBuDEs2FeSdMzLu37k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=az2IY9xdLzDE/6FMwNJYS5HT09ro/7qrbSzgrtkWn8mufgFefqY5n11zJMowqOesK4 mSZPI5Z9c+BW9DROEQ2niGPWM3/AiXdFuQEE6P+YeCaOqP0WqGUs54Avn8S/f3Ta51OO bRkB1i+7aAWnGYUY9NYA8nTCj6BTgVJgXrovs= MIME-Version: 1.0 Received: by 10.231.20.3 with SMTP id d3mr1202270ibb.18.1240644272051; Sat, 25 Apr 2009 00:24:32 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?B?Tm9ibGUgUGF1bCDgtKjgtYvgtKzgtL/gtLPgtY3igI0gIOCkqOCli+CkrOCljeCks+CljQ==?= Date: Sat, 25 Apr 2009 12:54:17 +0530 Message-ID: <5e76b0ad0904250024u785f1b2cr2743b7b186f808f1@mail.gmail.com> Subject: Re: Getting dynamicFields using QueryResponse To: solr-dev@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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