Ah, the old "switch that you shouldn't throw" trick. ;-)
Karl
-Original Message-
From: ext Michael McCandless [mailto:[email protected]]
Sent: Wednesday, August 18, 2010 2:39 PM
To: [email protected]
Subject: Re: Question about string retrieval with FieldCac
t: Wednesday, August 18, 2010 2:28 PM
> To: [email protected]
> Subject: Re: Question about string retrieval with FieldCache in trunk
>
> Odd... the field is definitely indexed? If you try getTermsIndex are
> they still empty?
>
> Are you just calling .utf8ToString() to g
: [email protected]
Subject: Re: Question about string retrieval with FieldCache in trunk
Odd... the field is definitely indexed? If you try getTermsIndex are
they still empty?
Are you just calling .utf8ToString() to get the String from the BytesRef?
Mike
On Wed, Aug 18, 2010 at 1:18 PM
10 12:43 PM
> To: [email protected]
> Subject: Re: Question about string retrieval with FieldCache in trunk
>
> Also note that the MIGRATE.txt in the lucene subdir should cover this.
>
> Mike
>
> Sent from my iPad
>
> On Aug 18, 2010, at 11:26 AM, Jason Rutherglen
&g
om]
Sent: Wednesday, August 18, 2010 12:43 PM
To: [email protected]
Subject: Re: Question about string retrieval with FieldCache in trunk
Also note that the MIGRATE.txt in the lucene subdir should cover this.
Mike
Sent from my iPad
On Aug 18, 2010, at 11:26 AM, Jason Rutherglen
wrote:
&g
riginal Message-
>> From: [email protected] [mailto:[email protected]] On Behalf Of ext Yonik
>> Seeley
>> Sent: Wednesday, August 18, 2010 10:55 AM
>> To: [email protected]
>> Subject: Re: Question about string retrieval with FieldCache in trunk
>>
>>
On Wed, Aug 18, 2010 at 12:03 PM, Yonik Seeley
wrote:
> On Wed, Aug 18, 2010 at 11:28 AM, wrote:
>> If you are correct, the comment is certainly incorrect, since it implies
>> that the SAME BytesRef is returned as you pass in.
>
> Yes, that's correct. BytesRef is mutable. You pass in an insta
On Wed, Aug 18, 2010 at 11:28 AM, wrote:
> If you are correct, the comment is certainly incorrect, since it implies that
> the SAME BytesRef is returned as you pass in.
Yes, that's correct. BytesRef is mutable. You pass in an instance,
and the value is set and the same BytesRef is normally re
To: '[email protected]'
Subject: RE: Question about string retrieval with FieldCache in trunk
If you are correct, the comment is certainly incorrect, since it implies that
the SAME BytesRef is returned as you pass in.
Karl
-Original Message-
From: ext Jason
[email protected]
Subject: Re: Question about string retrieval with FieldCache in trunk
Karl,
I believe one may pass an empty BytesRef in, and the values will be
set within the getTerm method.
On Wed, Aug 18, 2010 at 8:18 AM, wrote:
> Exactly. getTerms() returns a DocTerms, which has t
is the comment wrong?
>
> Karl
>
>
> -Original Message-
> From: [email protected] [mailto:[email protected]] On Behalf Of ext Yonik
> Seeley
> Sent: Wednesday, August 18, 2010 10:55 AM
> To: [email protected]
> Subject: Re: Question about string retrieval with
@lucene.apache.org
Subject: Re: Question about string retrieval with FieldCache in trunk
Check out getTerms and getTermsIndex
-Yonik
http://www.lucidimagination.com
On Wed, Aug 18, 2010 at 10:49 AM, wrote:
> Hi folks,
>
> What is the proper way to retrieve a string field from lucene in tr
Check out getTerms and getTermsIndex
-Yonik
http://www.lucidimagination.com
On Wed, Aug 18, 2010 at 10:49 AM, wrote:
> Hi folks,
>
> What is the proper way to retrieve a string field from lucene in trunk? I’m
> specifically looking for the equivalent of:
>
> String[] fieldValues = FieldCache.D
Hi folks,
What is the proper way to retrieve a string field from lucene in trunk? I'm
specifically looking for the equivalent of:
String[] fieldValues = FieldCache.DEFAULT.getStrings(reader,fieldName);
String actualValue = fieldValues[luceneID-docBase];
The getStrings() method seems to have go
14 matches
Mail list logo