|
From: Brad B. <be...@sy...> - 2015-12-09 02:54:38
|
Jim, I believe you could do this by overriding the Analyzer Factory Class [1] with your own implementation that does not filter stopwords [2]. Other may have more specific suggestions. [1] https://www.blazegraph.com/docs/api/com/bigdata/search/FullTextIndex.Options.html#ANALYZER_FACTORY_CLASS [2] https://www.blazegraph.com/docs/api/com/bigdata/search/IAnalyzerFactory.html Thanks, --Brad On Tue, Dec 8, 2015 at 9:12 PM, Jim Balhoff <ba...@gm...> wrote: > Hi, > > I was wondering if anyone could provide examples for how to set up the > Blazegraph properties file to configure options for the full text search. I > have looked through the various options in the JavaDoc, but I can’t quite > figure out the right properties file syntax for ‘stopwords=none’. Here is > what I am trying to do: > > I have a term in the database with rdfs:label "skeletal element of eye > region”. When users search for terms, I append a “*” to their input text by > default. However this is failing when the label contains a stopword like > “of”. So, searching with “skeletal element of” and “skeletal element*” do > find the term as a match, but “skeletal element of*” does not. Can I > disable stopwords entirely? > > Thanks, > Jim > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Bigdata-developers mailing list > Big...@li... > https://lists.sourceforge.net/lists/listinfo/bigdata-developers > -- _______________ Brad Bebee CEO, Managing Partner SYSTAP, LLC e: be...@sy... m: 202.642.7961 f: 571.367.5000 w: www.blazegraph.com Blazegraph™ <http://www.blazegraph.com> is our ultra high-performance graph database that supports both RDF/SPARQL and Tinkerpop/Blueprints APIs. Mapgraph™ <http://www.systap.com/mapgraph> is our disruptive new technology to use GPUs to accelerate data-parallel graph analytics. CONFIDENTIALITY NOTICE: This email and its contents and attachments are for the sole use of the intended recipient(s) and are confidential or proprietary to SYSTAP, LLC. Any unauthorized review, use, disclosure, dissemination or copying of this email or its contents or attachments is prohibited. If you have received this communication in error, please notify the sender by reply email and permanently delete all copies of the email and its contents and attachments. |