On Wed, Jul 2, 2008 at 10:45 PM, Chris Hostetter
<[EMAIL PROTECTED]> wrote:
> It never really occured to me before, but it is kind of weird that there
> is a toInternal and a toExternal and an indexedToReadable -- but there is
> no readableToIndexed ... toInternal is used both for the "indexed" val
: See the methods on FieldType, esp toExternal()
It never really occured to me before, but it is kind of weird that there
is a toInternal and a toExternal and an indexedToReadable -- but there is
no readableToIndexed ... toInternal is used both for the "indexed" value
and for the "stored" valu
Thanks. I knew there had to be something like that. It worked perfectly.
- Original Message
From: Yonik Seeley <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org
Sent: Wednesday, July 2, 2008 2:44:46 PM
Subject: Re: Fetching float or int fields from index by Lucene document
S
See the methods on FieldType, esp toExternal()
-Yonik
On Wed, Jul 2, 2008 at 5:39 PM, Kevin Osborn <[EMAIL PROTECTED]> wrote:
> As part of my results, I am building a lot of facet information. For example,
> an Attribute ID also needs to return the Attribute Text.
>
> So, I have code like the fo
As part of my results, I am building a lot of facet information. For example,
an Attribute ID also needs to return the Attribute Text.
So, I have code like the following (really in a cache):
Term term = new Term ("AtrID", "A0001");
Document doc = searcher.doc(searcher.getFirstMatch(term));
retu