Hello, This error was indeed a disk space problem, following your advice I did reset the read-only flag.
I came across multiple errors during the different maintenance scripts that I somehow resolved with a bit of googling, by installing those elasticsearch plugins : https://gerrit.wikimedia.org/r/plugins/gitiles/search/extra/ <https://gerrit.wikimedia.org/r/plugins/gitiles/search/extra/> Then I had an error when trying to search something, something like "unknown highlighter of type [experimental"] which was resolved by : https://gerrit.wikimedia.org/r/plugins/gitiles/search/highlighter/ <https://gerrit.wikimedia.org/r/plugins/gitiles/search/highlighter/> 1/ So at this point, the search is working, but I still have a warning upon requesting something : "A warning has occurred while searching: Mixing entity and article namespaces in search is currently not supported. Only entity namespaces will be searched." It appears there is nothing in the log file for this warning. 2/ My autocompletion is still broken, suggesting only on "Item:QID". 3/ I noticed something odd with search results. I was trying to search an entity which has multiple aliases in different language (atleast 3 or 4), by typing one of its french aliases : - When my UI is in English, the entity is found but the highlight and the alias shown is from another language, neither french or english. - When my UI is in French, it shows me the correct french highlight and alias or label. I don't know if I'm clear, in both cases the entity is found correctly, but its highlighted label or alias is not consistent across the different UI languages. Thanks for your time, Kevin > Le 7 oct. 2019 à 16:14, David Causse <dcau...@wikimedia.org> a écrit : > > > > On Mon, Oct 7, 2019 at 3:05 PM Kévin Bois <kevin.b...@biblissima-condorcet.fr > <mailto:kevin.b...@biblissima-condorcet.fr>> wrote: > Hello, > [...] > It looks like an index error, so I tried to rerun updateSearchIndexConfig.php > maintenance script, but this one gives me the same kind of error too. > ` > /mediawiki/extensions/Elastica/vendor/ruflin/elastica/lib/Elastica/Bulk.php: > Error in one or more bulk request actions: > > index: /mw_cirrus_metastore_first/mw_cirrus_metastore/namespace-mediawiki--2 > caused blocked by: [FORBIDDEN/12/index read-only / allow delete (api)]; > ` > I'm a bit confused as I've managed to run this once when I first installed > CirrusSearch, so I don't really understand why it wouldn't work now. > > > This error may appear when elasticsearch is running low on disk space, it can > switch affected indices to read-only, please see > https://www.elastic.co/guide/en/elasticsearch/reference/6.7/disk-allocator.html > > <https://www.elastic.co/guide/en/elasticsearch/reference/6.7/disk-allocator.html> > and the index.blocks.read_only_allow_delete property to reset the read-only > flag. > In short: double check disk usage on the partition where Elasticsearch has > its data directory, reset the read-only flag for all indices marked as > read-only and rerun the maint scripts as described in the CirrusSearch README > file. > > > Finally, autocompletion seems to be working even though the search itself > doesn't, but it only autocompletes Item:QID instead of working on the item > label, do you have any idea why ? > > > The reason you still see results for QID queries is that WikibaseCirrusSearch > still performs a query on the mysql database when it detects QIDs in the > search query it's why you may see search results even though the > elasticsearch infrastructure is broken. > > _______________________________________________ > Wikidata-tech mailing list > Wikidata-tech@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
_______________________________________________ Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech