Namespace VDS.RDF.Query.FullText
Classes
FullTextIndexException
FullTextQueryException
NamespaceDoc
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:
- Lucene.Net - See the Lucene 2.9.2 Query Syntax documentation
Important
The FullText namespace is provided by the plugin library. dotNetRDF.Query.FullText.dll