• API

    Show / Hide Table of Contents

    Class ToChildBlockJoinQuery

    Just like ToParentBlockJoinQuery, except this query joins in reverse: you provide a Lucene.Net.Search.Query matching parent documents and it joins down to child documents.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Inheritance
    System.Object
    Lucene.Net.Search.Query
    ToChildBlockJoinQuery
    Inherited Members
    Lucene.Net.Search.Query.Boost
    Lucene.Net.Search.Query.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Lucene.Net.Join
    Assembly: Lucene.Net.Join.dll
    Syntax
    public class ToChildBlockJoinQuery : Query

    Constructors

    | Improve this Doc View Source

    ToChildBlockJoinQuery(Query, Filter, Boolean)

    Create a ToChildBlockJoinQuery.

    Declaration
    public ToChildBlockJoinQuery(Query parentQuery, Filter parentsFilter, bool doScores)
    Parameters
    Type Name Description
    Lucene.Net.Search.Query parentQuery

    Lucene.Net.Search.Query that matches parent documents

    Lucene.Net.Search.Filter parentsFilter

    Lucene.Net.Search.Filter (must produce FixedBitSet per-segment, like FixedBitSetCachingWrapperFilter) identifying the parent documents.

    System.Boolean doScores

    True if parent scores should be calculated.

    Methods

    | Improve this Doc View Source

    Clone()

    Declaration
    public override object Clone()
    Returns
    Type Description
    System.Object
    Overrides
    Lucene.Net.Search.Query.Clone()
    | Improve this Doc View Source

    CreateWeight(IndexSearcher)

    Declaration
    public override Weight CreateWeight(IndexSearcher searcher)
    Parameters
    Type Name Description
    Lucene.Net.Search.IndexSearcher searcher
    Returns
    Type Description
    Lucene.Net.Search.Weight
    Overrides
    Lucene.Net.Search.Query.CreateWeight(Lucene.Net.Search.IndexSearcher)
    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    Query.Equals(Object)
    | Improve this Doc View Source

    ExtractTerms(ISet<Term>)

    Declaration
    public override void ExtractTerms(ISet<Term> terms)
    Parameters
    Type Name Description
    System.Collections.Generic.ISet<Term> terms
    Overrides
    Query.ExtractTerms(ISet<Term>)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    Lucene.Net.Search.Query.GetHashCode()
    | Improve this Doc View Source

    Rewrite(IndexReader)

    Declaration
    public override Query Rewrite(IndexReader reader)
    Parameters
    Type Name Description
    Lucene.Net.Index.IndexReader reader
    Returns
    Type Description
    Lucene.Net.Search.Query
    Overrides
    Lucene.Net.Search.Query.Rewrite(Lucene.Net.Index.IndexReader)
    | Improve this Doc View Source

    ToString(String)

    Declaration
    public override string ToString(string field)
    Parameters
    Type Name Description
    System.String field
    Returns
    Type Description
    System.String
    Overrides
    Query.ToString(String)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)