lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan McKinley <ryan...@gmail.com>
Subject Re: Sorting on tokenized fields
Date Tue, 08 Jan 2008 21:13:14 GMT
what do you mean by "fail"? -- there is the sortMissingLast attribute


Michael Prichard wrote:
> ok... i should read the manual more often.
> 
> i went ahead and just added untokenized, unstored sort fields....
> 
> question, if I put a field in to sort of but say I have not indexed any 
> as of yet...will the Sort fail?  For example, say I have a BCC field and 
> nothing has been indexed with that yet....I run a sort on BCC.....I 
> think it fails now...anyway around that?
> 
> On Jan 8, 2008, at 1:22 PM, Michael Prichard wrote:
> 
>> Is it possible to sort on a tokenized field?  For example, I break 
>> email address into pieces, i.e.
>>
>> michael.prichard@email.com
>>
>> becomes
>>
>> michael.prichard@email.com
>> michael.prichard
>> michael
>> prichard
>> email.com
>> email
>>
>>
>> so when sorting on this field I get some strange results.  Do I need 
>> to create another field just for sorting?  Or are there other ways to 
>> do it?
>>
>> Thanks!
>> Michael
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message