Commit 0fec80cb authored by Aleksandra Tsys's avatar Aleksandra Tsys
Browse files

demo to yelp

parent c19a9a4f
......@@ -5,7 +5,7 @@
Загрузить данные в solr проект:
`curl 'http://localhost:8983/solr/demo/update?commit=true' --data-binary @/home/sasha/yelp/final.json -H 'Content-type:application/json'`
`curl 'http://localhost:8983/solr/yelp/update?commit=true' --data-binary @/home/sasha/yelp/final.json -H 'Content-type:application/json'`
## Инструкция к run
......@@ -36,7 +36,7 @@ case "$1" in
echo "You have failed to specify what to do correctly."
echo "Available options:"
echo '"./run get-yelp" downloads yelp data from owncloud into data/ directory.'
echo '"./run reindex-yelp" drops existing demo indices and builds a new one using yelp data.'
echo '"./run reindex-yelp" drops existing yelp indices and builds a new one using yelp data.'
echo '"./run all" starts everything'
echo '"./run down" stops containers and removes them.'
exit 1
......@@ -325,14 +325,15 @@
<searchComponent name="suggest" class="solr.SuggestComponent">
<lst name="suggester">
<str name="name">mySuggester</str>
<str name="lookupImpl">org.apache.solr.spelling.suggest.fst.MyFuzzyLookupFactory</str>
<str name="lookupImpl">FuzzyLookupFactory</str>
<str name="storeDir">suggester_fuzzy_dir</str>
<str name="dictionaryImpl">DocumentDictionaryFactory</str>
<str name="field">name</str>
<str name="suggestAnalyzerFieldType">textSuggest</str>
<str name="contextField">tags</str>
<str name="buildOnStartup">true</str>
<str name="buildOnCommit">true</str>
<str name="suggestAnalyzerFieldType">string</str>
<!--<str name="suggestAnalyzerFieldType">textSuggest</str>
<str name="contextField">tags</str> -->
<str name="buildOnStartup">false</str>
<str name="buildOnCommit">false</str>
#Written by CorePropertiesLocator
#Fri Jul 10 07:18:17 UTC 2020
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment