Comments (5)
Using command below to check the difference between the two documents from successful user vs non successful user. The non successful user who cannot return any result from Elasticsearch contains NULL value in User field.
sudo -u www-data php occ fulltextsearch:document:platform files
from fulltextsearch.
we do have the same error with nextcloud 27.0.2 and elasticsearch:8.8.1.
@kevinkuan1969 have you been able to get fulltext search to work with non admin useres?
from fulltextsearch.
I’ve really been chasing this bug for 2 weeks now and I can now reproduce it too…
The problem is the user and/or groupname!
user:
test = working
test3 = working
test 3 = not working
Test_3 = not working…
group:
testgroup, test3group = working
test group = is not working
The username has to be a simple string of letters and numbers, as soon as there is a special character, a space or something else, the fulltext search no longer works!
see: #768
from fulltextsearch.
It looks like this also breaks search for LDAP users. With a fresh install, search only works for some locally created users, and returns no results for LDAP users. This might be caused by the fact that LDAP users in my instance have user ids like 60F6372C-F199-4C5E-904F-287360B07F46.
The problem is easy to reproduce. Install AIO with the Fulltext-Search enabled. Create two users, one named "local" and one named "local-user". Log in with both users so that documents exist and create the index afterwards by calling
occ fulltextsearch:index
This works without errors, but searching (e.g. for term yours) only works for user "local", regardless if you search from the command line or the web interface:
dafc642965c4:/var/www/html$ php occ fulltextsearch:SEARCH local yours
search
> Files
- 2433 score:0
- 2450 score:0
dafc642965c4:/var/www/html$ php occ fulltextsearch:SEARCH local-test yours
search
> Files
dafc642965c4:/var/www/html$
from fulltextsearch.
Does this issue still exist with the latest fulltextsearch releases? There were some changes in regards to indexing and users.
from fulltextsearch.
Related Issues (20)
- No access to the admin area after activating full text search
- Do not index data for suspended users HOT 1
- Breaks Nextcloud 27 if Groupfolders app is enabled HOT 16
- NC26, fulltextsearch 26, xpack security enabled - does not work HOT 1
- Migration of `default collection is local` during update leads to longer downtime HOT 1
- Fulltextsearch V 27.0.1 not live-indexing?
- fulltextsearch:index always scans all files even if index is already available HOT 5
- Fulltextsearch Fails with Usernames and Group Names Containing Special Characters HOT 2
- Indexing a file does not work when it's uploaded to a directory that is synced with Nextcloud desktop app
- 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?
- 0 results, test returns "Unexpected SearchResult" error HOT 6
- 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
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.