that works perfectly! Thanks a lot!
On Mon, Jul 6, 2009 at 2:12 PM, Chris Hostetter wrote:
> : OK, here is my latest code to get the IndexReader from the solr core.
> : However, it still printed out the non-string fields as special chars. I
> do
> : use the schema file here. Please help.
>
> you'
: OK, here is my latest code to get the IndexReader from the solr core.
: However, it still printed out the non-string fields as special chars. I do
: use the schema file here. Please help.
you'll want to use the IndexSchema object to get the FieldType
object for your field name. then use the Fi
t;
> Yuchen,
>
> schema.xml is a Solr configuration file that you can find in a conf
> directory under Solr home. Please go through the Solr tutorial on the site
> first.
>
> Otis
> --
> Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
>
>
>
> - Or
r-user@lucene.apache.org
> Sent: Sunday, July 5, 2009 1:19:12 PM
> Subject: Re: Problem in parsing non-string dynamic field by using IndexReader
>
> Thanks for the reply. However, in the code I posted, where should I load the
> schema.xml? I just created a Lucene IndexReader directl
Thanks for the reply. However, in the code I posted, where should I load the
schema.xml? I just created a Lucene IndexReader directly.
On Sun, Jul 5, 2009 at 9:31 AM, Otis Gospodnetic wrote:
>
> Yuchen,
>
> Make sure the fields you are trying to read are stored (stored="true" in
> schema.xml)
>
Yuchen,
Make sure the fields you are trying to read are stored (stored="true" in
schema.xml)
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
- Original Message
> From: Yuchen Wang
> To: solr-user@lucene.apache.org
> Sent: Sunday, July 5, 2009 12:43:50 AM
> Subjec