at a basic level yes, just getting the avg/min/max from a function
query would be awesome. once that is in place getting more complex
stats would be gravy. i need to do something in this area i just
want to know if there is some more fundamental that i'm working against.
- will
On Aug 24, 2007, at 5:17 PM, Grant Ingersoll wrote:
Can you provide more details on what you are trying to do? Are you
trying to collect information from the FunctionQuery after it is done?
-Grant
On Aug 24, 2007, at 5:03 PM, Will Johnson wrote:
i'm looking at doing some statistical work with lucene searches
and the function queries look like a nice starting point. i found
the DocValues.getMin/Max/Avg functions already however there
doesn't seem to be a nice way to get to this information without
doing a fair amount of subclassing. it would seem possible to
pass the DocValues or perhaps a new DocValuesStats object back up
the chain to avoid having to do all of this extra work just to get
some basic info from the query. is there some reason why this
might be a bad idea/design or would a patch be interesting to
anyone other than me?
- will
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------
Grant Ingersoll
http://lucene.grantingersoll.com
Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ
---------------------------------------------------------------------
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]