Make LongConstValueSource and TrieDateFieldSource classes public
----------------------------------------------------------------

                 Key: SOLR-1689
                 URL: https://issues.apache.org/jira/browse/SOLR-1689
             Project: Solr
          Issue Type: Wish
          Components: search
            Reporter: Dušan Omerčević
            Priority: Minor


In our custom request handler, we are boosting the query by decreasing recency 
of a document (thus implementing time bias). Solr provides BoostedQuery and 
ReciprocalFloatFunction classes that we use to implement time bias. But there 
are two classes, LongConstValueSource in 
org.apache.solr.search.ValueSourceParser, and TrieDateFieldSource in 
org.apache.solr.schema.TrieField, which are helpful in time bias implementation 
but which are defined as private.

Currently, we have made our own copies of these two classes. I wish you would 
make these two classes public in order for us to reuse them in our 
implementation of time bias functionality. I'm sure this would be beneficial to 
others, too.

Thank you.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to