-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document Elasticsearch index integration #3
Comments
Installation: Install plugins - analysis-icu, search-extra [Unclear if this step is required] Setup index to use a single shard with no replication Load dump [example uses the wikiquotes-content index] Run a test query in browser To run geo related queries, coordinates field containing lat and long fields must be mapped to type geo_point This is done by creating a mappings json object which is passed just like the settings object during index creation. If an index is already created to see the default mapping (auto created) during the bulk import look at Example of a geo-distance query on a wikivoyage index - finds all locations within a 100Km from Chennai
To print out just the titles pipe above output to |
To support more advanced search using more indexes than just the current title/url index as discussed here - kiwix/kiwix-js#290 three steps are required and need to be documented properly.
Get the right wiki exported cirrus index dump corresponding to the local archive from -https://dumps.wikimedia.org/other/cirrussearch/current/
Import it into local barebones single shard no replication instance of elasticsearch
Add new Advanced search page thats hooked up with elasticsearch REST APIs
The text was updated successfully, but these errors were encountered: