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

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

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

origin: apache/stanbol

constraint.setProximityRanking(jConstraint.optBoolean("proximityRanking", false));
origin: apache/stanbol

tc.setProximityRanking(true); //STANBOL-1104
query.setConstraint(field.getUnicodeString(),tc);
return query;
org.apache.stanbol.entityhub.servicesapi.queryTextConstraintsetProximityRanking

Javadoc

Setter for the proximity ranking 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
  • isProximityRanking
    Getter for the Term Proximity state. If enabled the proximity of the parsed terms should be used to

Popular in Java

  • Making http post requests using okhttp
  • getApplicationContext (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • runOnUiThread (Activity)
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Reference (javax.naming)
  • JList (javax.swing)
  • Top PhpStorm 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