Class CrossCollectionJoinQuery

java.lang.Object
org.apache.lucene.search.Query
org.apache.solr.search.join.CrossCollectionJoinQuery
All Implemented Interfaces:
SolrSearcherRequirer

public class CrossCollectionJoinQuery extends org.apache.lucene.search.Query implements SolrSearcherRequirer
  • Field Details

    • query

      protected final String query
    • zkHost

      protected final String zkHost
    • solrUrl

      protected final String solrUrl
    • collection

      protected final String collection
    • fromField

      protected final String fromField
    • toField

      protected final String toField
    • routedByJoinKey

      protected final boolean routedByJoinKey
    • timestamp

      protected final long timestamp
    • ttl

      protected final int ttl
    • otherParams

      protected org.apache.solr.common.params.SolrParams otherParams
    • otherParamsString

      protected String otherParamsString
  • Constructor Details

    • CrossCollectionJoinQuery

      public CrossCollectionJoinQuery(String query, String zkHost, String solrUrl, String collection, String fromField, String toField, boolean routedByJoinKey, int ttl, org.apache.solr.common.params.SolrParams otherParams)
  • Method Details

    • createWeight

      public org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.IndexSearcher searcher, org.apache.lucene.search.ScoreMode scoreMode, float boost) throws IOException
      Overrides:
      createWeight in class org.apache.lucene.search.Query
      Throws:
      IOException
    • visit

      public void visit(org.apache.lucene.search.QueryVisitor visitor)
      Specified by:
      visit in class org.apache.lucene.search.Query
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class org.apache.lucene.search.Query
    • equals

      public boolean equals(Object other)
      Specified by:
      equals in class org.apache.lucene.search.Query
    • toString

      public String toString(String field)
      Specified by:
      toString in class org.apache.lucene.search.Query