Show / Hide Table of Contents

    Class WeightedSpanTermExtractor.PositionCheckingMap<K>

    This class makes sure that if both position sensitive and insensitive versions of the same term are added, the position insensitive one wins.

    Inheritance
    System.Object
    WeightedSpanTermExtractor.PositionCheckingMap<K>
    Namespace: Lucene.Net.Search.Highlight
    Assembly: Lucene.Net.Highlighter.dll
    Syntax
    protected class PositionCheckingMap<K> : IDictionary<K, WeightedSpanTerm>
    Type Parameters
    Name Description
    K

    Properties

    | Improve this Doc View Source

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    IsReadOnly

    Declaration
    public bool IsReadOnly { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Item[K]

    Declaration
    public WeightedSpanTerm this[K key] { get; set; }
    Parameters
    Type Name Description
    K key
    Property Value
    Type Description
    WeightedSpanTerm
    | Improve this Doc View Source

    Keys

    Declaration
    public ICollection<K> Keys { get; }
    Property Value
    Type Description
    ICollection<K>
    | Improve this Doc View Source

    Values

    Declaration
    public ICollection<WeightedSpanTerm> Values { get; }
    Property Value
    Type Description
    ICollection<WeightedSpanTerm>

    Methods

    | Improve this Doc View Source

    Add(K, WeightedSpanTerm)

    Declaration
    public void Add(K key, WeightedSpanTerm value)
    Parameters
    Type Name Description
    K key
    WeightedSpanTerm value
    | Improve this Doc View Source

    Add(KeyValuePair<K, WeightedSpanTerm>)

    Declaration
    public void Add(KeyValuePair<K, WeightedSpanTerm> item)
    Parameters
    Type Name Description
    KeyValuePair<K, WeightedSpanTerm> item
    | Improve this Doc View Source

    Clear()

    Declaration
    public void Clear()
    | Improve this Doc View Source

    Contains(KeyValuePair<K, WeightedSpanTerm>)

    Declaration
    public bool Contains(KeyValuePair<K, WeightedSpanTerm> item)
    Parameters
    Type Name Description
    KeyValuePair<K, WeightedSpanTerm> item
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    ContainsKey(K)

    Declaration
    public bool ContainsKey(K key)
    Parameters
    Type Name Description
    K key
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    CopyTo(KeyValuePair<K, WeightedSpanTerm>[], Int32)

    Declaration
    public void CopyTo(KeyValuePair<K, WeightedSpanTerm>[] array, int arrayIndex)
    Parameters
    Type Name Description
    KeyValuePair<K, WeightedSpanTerm>[] array
    System.Int32 arrayIndex
    | Improve this Doc View Source

    GetEnumerator()

    Declaration
    public IEnumerator<KeyValuePair<K, WeightedSpanTerm>> GetEnumerator()
    Returns
    Type Description
    IEnumerator<KeyValuePair<K, WeightedSpanTerm>>
    | Improve this Doc View Source

    Remove(K)

    Declaration
    public bool Remove(K key)
    Parameters
    Type Name Description
    K key
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Remove(KeyValuePair<K, WeightedSpanTerm>)

    Declaration
    public bool Remove(KeyValuePair<K, WeightedSpanTerm> item)
    Parameters
    Type Name Description
    KeyValuePair<K, WeightedSpanTerm> item
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    TryGetValue(K, out WeightedSpanTerm)

    Declaration
    public bool TryGetValue(K key, out WeightedSpanTerm value)
    Parameters
    Type Name Description
    K key
    WeightedSpanTerm value
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)