Re: Sorting date stored in milliseconds time

2005-02-26 Thread Erik Hatcher
Just an idea off the top of my head you could create a custom sort, 
or alternatively you could store the date as separate fields such as 
year, month, day, time, and provide multi-field sort.

Erik
On Feb 25, 2005, at 11:36 PM, Ben wrote:
Hi
I store my date in milliseconds, how can I do a sort on it? SortField
has INT, FLOAT and STRING. Do I need to create a new sort class, to
sort the long value?
Thanks
Ben
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Ranking Terms

2005-02-26 Thread Otis Gospodnetic
Make sure you are not indexing your documents using the compound index
format (default in the newer versions of Lucene).  Then you will see
the .frq file.  Here is an example from one of Simpy's Lucene indices:

-rw-r--r--1 simpysimpy  629073 Feb 26 13:14 _1ao.frq

Otis
--
http://www.simpy.com

--- Daniel Cortes [EMAIL PROTECTED] wrote:

 Hi everybody,
 I need to found some documentation about the algorithms that lucene
 use 
 internally in the indexation and how it works with weights and 
 frequencies of the terms.This information will be used to know tastes
 of 
 my users and to relate users with the same interest and
 restlessness.:D
 I read something about .frq files but I don't have any frq life in my
 index.
 Thks.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]