fulltextsearch
fulltextsearch copied to clipboard
OCC Fulltextsearch:index not working
Hi,
I've standalone server of elasticsearch, when I run OCC fulltextsearch:test I get following result
.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: 1, expected: ["simple") ]ok - 'document is a simple test' (result: 2, expected: ["simple","license") ]ok - '"document is a test"' (result: 0, expected: [) ]ok - '"document is a simple test"' (result: 1, expected: ["simple") ]ok - 'document is a simple -test' (result: 1, expected: ["license") ]ok - 'document is a simple +test' (result: 1, expected: ["simple") ]ok - '-document is a simple test' (result: 0, expected: [) ]ok - 'document is a simple +test +testing' (result: 1, expected: ["simple") ]ok - 'document is a simple +test -testing' (result: 0, expected: [) ]ok - 'document is a +simple -test -testing' (result: 0, expected: [) ]ok - '+document is a simple -test -testing' (result: 1, expected: ["license") ]ok - 'document is a +simple -license +testing' (result: 1, expected: ["simple") ]ok Updating documents access. ok Pausing 3 seconds 1 2 3 ok Searching with group access rights: - 'license' - [ - (result: 0, expected: []) ]ok - 'license' - ["group_1" - (result: 1, expected: ["license"]) ]ok - 'license' - ["group_1","group_2" - (result: 1, expected: ["license"]) ]ok - 'license' - ["group_3","group_2" - (result: 1, expected: ["license"]) ]ok - 'license' - ["group_3" - (result: 0, expected: []) ]ok Searching with share rights: - 'license' - notuser - (result: 0, expected: [) ]ok - 'license' - user2 - (result: 1, expected: ["license") ]ok - 'license' - user3 - (result: 1, expected: ["license") ]ok Removing test. ok Unlocking process ok
But when I do OCC fulltextsearch:index the result is [object Object]
I'm unable to understand what is the issue here.
NC version is 21 and both servers are communicating on public IP.
Can someone please help.
I have the exact same issue, fresh install everything updated. fulltextsearch:test is all green
fulltextsearch:check seems to hold some garbled results at the end.
{ "elastic_host": [ "http://elastic:********@localhost:9200/" ], "elastic_index": "nextcloud", "fields_limit": "10000", "es_ver_below66": "0", "analyzer_tokenizer": "standard"}{ "files_local": "1", "files_external": "2", "files_group_folders": "1", "files_encrypted": "0", "files_federated": "0", "files_size": "100", "files_pdf": "1", "files_office": "1", "files_image": "0", "files_audio": "0"}U˻��0@�_ N:(U7Wѹ�ڥԈ��B���5�^��O��6���R�2�K��������&��7C>!����=�,�:����mGO�>S?Wv�L�5~
and fulltextsearch:index gives back [object Object]
I have reinstalled multiple times, followed every manual, even though the one in the wiki here seems to think it should all just magically work, but it doesnt. Please fix bug.