Click or drag to resize

VDS.RDF.Query.FullText Namespace

This namespace provides Full Text Query capabilities that can be used with our Leviathan SPARQL Engine. Currently only Lucene.Net based indexing is supported though the library is fully extensible so you can create your own indexing providers as desired.

Usage

To use these features you simply need to add a FullTextOptimiser as an optimiser on your SPARQL Queries, this takes a IFullTextSearchProvider instance which performs the actual full text querying. Once this is done you then simply need to use the relevant property in your SPARQL queries e.g.

            PREFIX pf: <http://jena.hpl.hp.com/ARQ/property#>
            SELECT * WHERE { ?s pf:textMatch "text" }
            

Those who are familiar will note that this is the same syntax as used by LARQ and all the syntactic variations from LARQ such as retrieving scores, applying thresholds and limits are also supported by our full text query.

Search Text can be a simple textual search term or it may be any valid query as supported by the underlying full text query provider:

Important

The FullText namespace is provided by the plugin library. dotNetRDF.Query.FullText.dll

Classes
  ClassDescription
Public classFullTextIndexException
Exception Type for exceptions that may occur during Full Text Indexing.
Public classFullTextQueryException
Exception Type for exceptions that may occur during Full Text Query.
Public classNamespaceDoc