Re: including "time" as a factor in relevance?

2006-07-15 Thread Brent Verner
[2006-07-15 14:06] WHIRLYCOTT said: | I need to have my search result relevance influenced by time. Older | things in my index are less relevant than newer things. I don't want | to do a strict sort by date. Is this supported somehow by using a | dismax request handler? Or if you have oth

Re: how to use FunctionQuery with lucene?

2006-07-12 Thread Brent Verner
[2006-07-12 11:55] Chris Hostetter said: | pretty much ... but RecipricalFloatFunction is pretty great for dates too. Will have to check it out :-) | : Query.combine(Query[]), but I'm not sure, from reading the lucene docs, | : that it will do what I want... | | that's not really what that m

how to use FunctionQuery with lucene?

2006-07-12 Thread Brent Verner
Hi, FunctionQuery looks _exactly_ like what I want. I want to apply a rank/sort kind of thing based on the value of a Document field value. Specifically, my users want more "recent" documents to have a higher rank than older documents and I have a date field with values like 20060707. It look