Loading Wikipedia's Search Index For Testing - Sep. 2017 Update


(Panagis Alisandratos) #1

You can still follow Loading Wikipedia's Search Index For Testing for the most part, just make the following adjustments to Step 2 if you are attempting to load enwiki-$date-cirrussearch-content.json.gz:

./bin/elasticsearch-plugin install org.wikimedia.search:extra:5.5.2
  • Include the similarity setting
...
jq '{
    analysis: .content.page.index.analysis,
    similarity: .content.page.index.similarity,
    number_of_shards: 1,
    number_of_replicas: 0
  }' |
...

(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.