org.apache.solr.search

## Class CollapsingQParserPlugin.CollapseScore

- java.lang.Object
- - org.apache.solr.search.CollapsingQParserPlugin.CollapseScore

- Enclosing class:
    CollapsingQParserPlugin

      public static final class CollapsingQParserPlugin.CollapseScore
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `float` | `score`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `setupIfNeeded(CollapsingQParserPlugin.GroupHeadSelector groupHeadSelector, Map readerContext)` Inspects the GroupHeadSelector to determine if this CollapseScore is needed.
    `static boolean` | `wantsCScore(String text)` Huge HACK, but not really any better options until/unless we can recursively ask value sources if they depend on score

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### score

          public float score

  - ### Method Detail

    - #### setupIfNeeded

          public boolean setupIfNeeded(CollapsingQParserPlugin.GroupHeadSelector groupHeadSelector,
                                       Map readerContext)

      Inspects the GroupHeadSelector to determine if this CollapseScore is needed. If it is, then "this" will be added to the readerContext using the "CSCORE" key, and true will be returned. If not returns false.

    - #### wantsCScore

          public static boolean wantsCScore(String text)

      Huge HACK, but not really any better options until/unless we can recursively ask value sources if they depend on score

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.