Comments (6)
Same here. Updated Nextcloud to latest version 27.1.2, ocr search is not available anymore.
sudo -u www-data php /var/www/nextcloud/occ fulltextsearch:test
`.Testing your current setup:
Creating mocked content provider. ok
Testing mocked provider: get indexable documents. (2 items) ok
Loading search platform. (Elasticsearch) ok
Testing search platform. ok
Locking process ok
Removing test. ok
Pausing 3 seconds 1 2 3 ok
Initializing index mapping. ok
Indexing generated documents. ok
Pausing 3 seconds 1 2 3 ok
Retreiving content from a big index (license). (size: 32386) ok
Comparing document with source. ok
Searching basic keywords:
- 'test' (result: 0, expected: ["simple"]) fail
Error detected, unlocking process ok
In Test.php line 676:
Unexpected SearchResult: {"provider":{"id":"test_provider","name":"Test Provider"},"platform":{"id":"elastic_search","name":"Elasticsearch"},"documents":[],"info":[],"meta":{"timedOu
t":false,"time":0,"count":0,"total":0,"maxScore":0}}
fulltextsearch:test [--output [OUTPUT]] [-j|--json] [-d|--platform_delay PLATFORM_DELAY]
`
from fulltextsearch.
Have probably found a fix for this, the elasticsearch cluster was still running in version 7.11 (older elasticsearch).
You have to either update the cluster via elasticsearch REST API or completely wipe your cluster (i.e. rm -r /var/lib/elasticsearch) after the update to fulltextsearch 27.1.
from fulltextsearch.
Same problem here with NC 27.1.2, and Elasticsearch Version: 7.17.14, Build: default/deb/774e3bfa4d52e2834e4d9d8d669d77e4e5c1017f/2023-10-05T22:17:33.780167078Z, JVM: 21
Installing latest elasticsearch doesn't resolve the problem
from fulltextsearch.
Have probably found a fix for this, the elasticsearch cluster was still running in version 7.11 (older elasticsearch). You have to either update the cluster via elasticsearch REST API or completely wipe your cluster (i.e. rm -r /var/lib/elasticsearch) after the update to fulltextsearch 27.1.
Can confirm that updating or purging the elasticsearch cluster fixes the problem.
Updating elasticsearch from 7.x to 8.x leaves the cluster and fulltextsearch index in 7.x compatibility mode.
For anyone having this bug too, see the elasicsearch wiki on how to perform a cluster update via elasticsearch REST API or simply delete /var/lib/elasticsearch/* and run a full reindex via fulltextsearch:index.
Closed.
@joshlukas
@lumintulogic-admin
from fulltextsearch.
Can not confirm that. Upgrading or installing to ver. 8 and also purging the index in /var/lib/elasticsearch/ does not change anything. Still not able to search ocr data.
from fulltextsearch.
I ran into the same problem here. On one cloud instance, I just deleted the index and created a new one, problem solved.
But on another cloud instance, there are 2.5 TB of data and I really don't want to reindex here.
@Sommerwiesel You mentioned that you could also perform a cluster update via API. Do you have a link where this specific endpoint is explained or even an example API call? Searched the ES API but couldn't find anything of value here.
from fulltextsearch.
Related Issues (20)
- No results when searching HOT 6
- Fulltextsearch: CSV data is not indexed correctly, issue in recognizing semicolons within numeric sequences HOT 1
- The settings cannot be saved after the recent update HOT 1
- Exception: Database error when running migration 2801Date202309200001 for app fulltextsearch HOT 10
- Fulltextsearch hangs with complex PDF due to Ghostscript bug in version 10.0.0
- Question: When ES is working for files and deck provider how to switch off DB operation for those providers?
- fulltextsearch:index decrypts and copies all files to /tmp HOT 7
- indexing OpenOffice documents - first line after headline missing
- Links to results are wrong when searching in the desktop client HOT 2
- Search returns no results HOT 3
- Constantly getting warning message Exception while improving searchresult HOT 2
- Fulltextsearch upgrade fails 27.0.1 -> 27.1.4 HOT 13
- List of Platform Apps: Add Xapian
- Search return only results from filenames HOT 1
- Full Text Search Enable App fails "An error occurred during the request. Unable to proceed." HOT 3
- High, permantent CPU load on two MySQL connections
- Usability is a Joke HOT 2
- nc 28 compatibility HOT 1
- elasticsearch connecting string gets saved in db in cleartext HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fulltextsearch.