Tabnine Logo
TextConstraint.isProximityRanking
Code IndexAdd Tabnine to your IDE (free)

How to use
isProximityRanking
method
in
org.apache.stanbol.entityhub.servicesapi.query.TextConstraint

Best Java code snippets using org.apache.stanbol.entityhub.servicesapi.query.TextConstraint.isProximityRanking (Showing top 3 results out of 315)

origin: apache/stanbol

if(textConstraint.isProximityRanking() != null){
  jConstraint.put("proximityRanking", textConstraint.isProximityRanking());
origin: apache/stanbol

if(textConstraint.isProximityRanking() != null){
  constraintValue.setProperty(QueryConst.PHRASE_QUERY_STATE, textConstraint.isProximityRanking());
} else {
origin: org.apache.stanbol/org.apache.stanbol.entityhub.yard.solr

if(textConstraint.isProximityRanking() != null){
  constraintValue.setProperty(QueryConst.PHRASE_QUERY_STATE, textConstraint.isProximityRanking());
} else {
org.apache.stanbol.entityhub.servicesapi.queryTextConstraintisProximityRanking

Javadoc

Getter for the Term Proximity state. If enabled the proximity of the parsed terms should be used to rank search results.

Popular methods of TextConstraint

  • <init>
    Creates a TextConstraint for multiple texts and languages. Parsed texts are connected using OR and m
  • getLanguages
    The set of languages for this query.
  • getTexts
    Getter for the text constraints. Multiple constraints need to be connected with OR. For AND simple p
  • getPatternType
    The pattern type to be used for this query.
  • isCaseSensitive
    If the query is case sensitive
  • setProximityRanking
    Setter for the proximity ranking state. If enabled the proximity of the parsed terms should be used

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getResourceAsStream (ClassLoader)
  • getApplicationContext (Context)
  • findViewById (Activity)
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • JTextField (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now