nextcloud / nextcloud/fulltextsearch

Help.Full text Search index new documents , but don't works with initial index

Open
#550 15 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
234
Forks
64
Avg merge
6h 18m
Merged PRs (30d)
10

Description

Any idea ? thks

CentOS 7 (64-bit)
Nextcloud version: 16.0.5

Full text search:1.3.6
Full text search - Elasticsearch Platform:1.3.6
Full text search - Files 1.3.6

curl -XGET 'http://localhost:9200'

"cluster_name" : "elasticsearch",
"cluster_uuid" : "6L5YrU3nTxKV7IdhkF8Ozg",
"version" : {
"number" : "7.4.2",
"build_flavor" : "default",
"build_type" : "rpm",
"build_hash" : "2f90bbf7b93631e52bafb59b3b049cb44ec25e96",
"build_date" : "2019-10-28T20:40:44.881551Z",
"build_snapshot" : false,
"lucene_version" : "8.2.0",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}


sudo -u apache php /var/www/html/nextcloud/occ fulltextsearch:index

Options: []
Memory: 21 MB
┌─ Indexing ────
│ Action: generateIndexFiles
│ Provider: Files Account: XXXXXX
│ Document: 389713
│ Info:
│ Title:
│ Content size: 3075680
│ Chunk: 0/0
│ Progress: all/0
└──
┌─ Results ────
│ Result: 32/32
│ Index: files:389713
│ Status: ok
│ Message: {"_index":"nextcloud_index","_type":"standard","_id":"files:389713","_version":1,"result":"created","_shards":{"total":2,"successful":1,"failed":0},"_seq_no":31,"_primary_term":1}


└──
┌─ Errors ────
│ Error: 0/0
│ Index:
│ Exception:
│ Message:


└──

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with occ fulltextsearch:index and checking the Elasticsearch response from http://localhost:9200. Compare the reported successful initial indexing with whether the resulting documents can actually be found; done means the initial index contains searchable documents without errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
elasticsearch, php
Domain
backend, search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.