You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2018/06/01 08:45:00 UTC

[jira] [Resolved] (SOLR-1689) Make LongConstValueSource and TrieDateFieldSource classes public

     [ https://issues.apache.org/jira/browse/SOLR-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl resolved SOLR-1689.
-------------------------------
    Resolution: Won't Fix

Closing ooold issue

> 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 was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org