Class SolrDocumentScore

java.lang.Object
org.eclipse.rdf4j.sail.solr.SolrDocumentResult
org.eclipse.rdf4j.sail.solr.SolrDocumentScore
All Implemented Interfaces:
DocumentResult, DocumentScore

@Deprecated(since="5.3.0", forRemoval=true) public class SolrDocumentScore extends SolrDocumentResult implements DocumentScore
Deprecated, for removal: This API element is subject to removal in a future version.
since 5.3.0. Solr integration is deprecated for removal; use alternative Lucene-backed search implementations instead.
  • Constructor Details

    • SolrDocumentScore

      public SolrDocumentScore(SolrSearchDocument doc, Map<String, List<String>> highlighting)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getScore

      public float getScore()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getScore in interface DocumentScore
    • isHighlighted

      public boolean isHighlighted()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isHighlighted in interface DocumentScore
    • getSnippets

      public Iterable<String> getSnippets(String field)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getSnippets in interface DocumentScore