Show / Hide Table of Contents

    Class ComplexPhraseQueryParser.ComplexPhraseQuery

    Used to handle the query content in between quotes and produced Span-based interpretations of the clauses.

    Inheritance
    System.Object
    ComplexPhraseQueryParser.ComplexPhraseQuery
    Namespace: Lucene.Net.QueryParsers.ComplexPhrase
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    public class ComplexPhraseQuery : Query

    Constructors

    | Improve this Doc View Source

    ComplexPhraseQuery(String, String, Int32, Boolean)

    Declaration
    public ComplexPhraseQuery(string field, string phrasedQueryStringContents, int slopFactor, bool inOrder)
    Parameters
    Type Name Description
    System.String field
    System.String phrasedQueryStringContents
    System.Int32 slopFactor
    System.Boolean inOrder

    Properties

    | Improve this Doc View Source

    Field

    Declaration
    public string Field { get; }
    Property Value
    Type Description
    System.String

    Methods

    | 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
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    ParsePhraseElements(ComplexPhraseQueryParser)

    Declaration
    protected void ParsePhraseElements(ComplexPhraseQueryParser qp)
    Parameters
    Type Name Description
    ComplexPhraseQueryParser qp
    | Improve this Doc View Source

    Rewrite(IndexReader)

    Declaration
    public override Query Rewrite(IndexReader reader)
    Parameters
    Type Name Description
    IndexReader reader
    Returns
    Type Description
    Query
    | 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
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)