org.apache.solr.search

## Class FieldParams

- java.lang.Object
- - org.apache.solr.search.FieldParams

-     public class FieldParams
      extends Object

  A class to hold "phrase slop" and "boost" parameters for pf, pf2, pf3 parameters

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FieldParams(String field, int wordGrams, int slop, float boost)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `float` | `getBoost()`
    `String` | `getField()`
    `int` | `getSlop()`
    `int` | `getWordGrams()`

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

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

- - ### Constructor Detail

    - #### FieldParams

          public FieldParams(String field,
                             int wordGrams,
                             int slop,
                             float boost)

  - ### Method Detail

    - #### getWordGrams

          public int getWordGrams()

    - #### getSlop

          public int getSlop()

    - #### getBoost

          public float getBoost()

    - #### getField

          public String getField()

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