diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-03-05 09:57:46 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-03-05 09:57:46 +0100 |
commit | d6d7641cb9d5bf91f534e560c32d62227999d30b (patch) | |
tree | b16e6b420c5a6e1ec50d82f5491b0a075010aebc /strus/README | |
parent | 2bc6ab49e7950b75b232488ba2676dc8b2ced4e0 (diff) | |
download | www-andreasbaumann-cc-d6d7641cb9d5bf91f534e560c32d62227999d30b.tar.gz www-andreasbaumann-cc-d6d7641cb9d5bf91f534e560c32d62227999d30b.tar.bz2 |
added stemming of query
Diffstat (limited to 'strus/README')
-rw-r--r-- | strus/README | 9 |
1 files changed, 6 insertions, 3 deletions
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 |