Class JoinQParserPlugin

    • Constructor Detail

      • JoinQParserPlugin

        public JoinQParserPlugin()
    • Method Detail

      • createJoinQuery

        public static org.apache.lucene.search.Query createJoinQuery​(org.apache.lucene.search.Query subQuery,
                                                                     String fromField,
                                                                     String toField)
        A helper method for other plugins to create (non-scoring) JoinQueries wrapped around arbitrary queries against the same core.
        Parameters:
        subQuery - the query to define the starting set of documents on the "left side" of the join
        fromField - "left side" field name to use in the join
        toField - "right side" field name to use in the join