[prev in list] [next in list] [prev in thread] [next in thread] 

List:       solr-user
Subject:    Re: TemplateTransformer returns null values
From:       Alexandre Rafalovitch <arafalov () gmail ! com>
Date:       2014-01-31 1:08:54
Message-ID: CAEFAe-Epe57dx=h0J0UaetaiwA4jRA-cctJDZGcpAGRbShxboA () mail ! gmail ! com
[Download RAW message or body]

Hmm,

Try the variable reference without scope: ${id}. I can't remember if
the scope is required only for higher level items. It might also be
worth writing a very basic All fields logger to see what your
in-progress map looks like.

Regards,
   Alex.
Personal website: http://www.outerthoughts.com/
LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch
- Time is the quality of nature that keeps events from happening all
at once. Lately, it doesn't seem to be working.  (Anonymous  - via GTD
book)


On Fri, Jan 31, 2014 at 7:10 AM, tom <praveenhm2@yahoo.com> wrote:
> Thanks Alexandre for quick response,
> 
> I tried both the ways but still no luck null values, anything I am doing
> fundamentally wrong?
> 
> query="select DOC_IDN, BILL_IDN from document_fact" >
> <field column="DOC_IDN" name="id" />
> 
> and
> 
> query="select DOC_IDN as id ,BILL_IDN as bill_id from document_fact" >
> <field column="id" />
> 
> 
> 
> 
> --
> View this message in context: \
> http://lucene.472066.n3.nabble.com/TemplateTransformer-returns-null-values-tp4114539p4114544.html
>  Sent from the Solr - User mailing list archive at Nabble.com.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic