From d6d7641cb9d5bf91f534e560c32d62227999d30b Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 5 Mar 2017 09:57:46 +0100 Subject: added stemming of query --- strus/README | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'strus/README') diff --git a/strus/README b/strus/README index d503c0c..4f2ad15 100644 --- a/strus/README +++ b/strus/README @@ -7,17 +7,20 @@ # YAML/TOML/JSON and Markdown: # remarshal (https://github.com/dbohdan/remarshal) # pandoc (http://pandoc.org/) +# client-side needs: +# https://github.com/fortnightlabs/snowball-js ./create_xml.sh > posts.xml xmllint -noout posts.xml +# test configuration of document analysis + +strusAnalyze document.ana posts.xml |& less + # Create the strus search index: rm -rf storage mkdir storage strusCreate -s 'path=storage/wwwandreasbaumanncc; metadata=doclen UINT16, publish_date UINT16' - -strusAnalyze document.ana posts.xml |& less - strusInsert -c 1000 -f 1 -t 1 -s "path=storage/wwwandreasbaumanncc" document.ana posts.xml -- cgit v1.2.3-54-g00ecf