[ https://issues.apache.org/jira/browse/SOLR-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794691#action_12794691 ]
Chris A. Mattmann commented on SOLR-1689: ----------------------------------------- Hi Dušan: I put up a patch on SOLR-1688 that addresses your issue as part of this. Cheers, Chris > 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.