How to index bookmarks only?

Nextcloud 11.0.1 on Ubuntu 16.04, Nextant 1.0.3

According to the Nextant commands overview, this should be done by

./occ nextant:index --bookmarks

But in my case this does not work.

Here the output of the commands.

sudo -u www-data php occ nextant:index --bookmarks

nextant v1.0.3

* Indexing bookmarks:

/user1                        0/     0 [>---------------------------]   0% 
/user1                        2/     2 [============================] 100% 
/user3                       20/    20 [============================] 100% 
/user4                        1/     1 [============================] 100% 
                                                   
  0 bookmark(s) processed ; 0 orphan(s) removed
  0 document indexed ; 0 fully extracted

Time spent: 00:00:02
Your index now contains 19 segments

As correctly displayed, user3 has 20 bookmarks

But they are neither indexed nor displayed on the search result page.

sudo -u www-data php occ nextant:check

Pinging 127.0.0.1:8983/solr/nextant : ok

Checking Solr schema fields
 * Checking field-type 'boolean' : ok
 * Checking field-type 'booleans' : ok
 * Checking field-type 'double' : ok
 * Checking field-type 'doubles' : ok
 * Checking field-type 'tdouble' : ok
 * Checking field-type 'tdoubles' : ok
 * Checking field-type 'float' : ok
 * Checking field-type 'floats' : ok
 * Checking field-type 'tfloat' : ok
 * Checking field-type 'tfloats' : ok
 * Checking field-type 'int' : ok
 * Checking field-type 'ints' : ok
 * Checking field-type 'tint' : ok
 * Checking field-type 'tints' : ok
 * Checking field-type 'long' : ok
 * Checking field-type 'longs' : ok
 * Checking field-type 'tlong' : ok
 * Checking field-type 'tlongs' : ok
 * Checking field-type 'string' : ok
 * Checking field-type 'strings' : ok
 * Checking field-type 'tdate' : ok
 * Checking field-type 'tdates' : ok
 * Checking field-type 'ignored' : ok
 * Checking field-type 'text_general' : ok
 * Checking field-type 'text_general_edge' : ok
 * Checking field-type 'text_general_word' : ok
 * Checking field '_version_' : ok
 * Checking field 'id' : ok
 * Checking field 'text' : ok
 * Checking field 'text_edge' : ok
 * Checking field 'text_word' : ok
 * Checking field 'nextant_path' : ok
 * Checking field 'nextant_owner' : ok
 * Checking field 'nextant_mtime' : ok
 * Checking field 'nextant_share' : ok
 * Checking field 'nextant_sharegroup' : ok
 * Checking field 'nextant_deleted' : ok
 * Checking field 'nextant_source' : ok
 * Checking field 'nextant_tags' : ok
 * Checking field 'nextant_extracted' : ok
 * Checking field 'nextant_ocr' : ok
 * Checking field 'nextant_unmounted' : ok
 * Checking dynamic-field 'ignored_*' : ok
 * Checking dynamic-field 'nextant_attr_*' : ok
 * Checking copy-field 'text_edge/text' : ok
 * Checking copy-field 'text_edge/text_word' : ok

Cleaning extra fields

Your solr contains 131 documents :
 - 131 files
 - 0 bookmarks
 - 19 segments

0 bookmarks!

What is wrong there?

Thank you.

I’ll have a look, if you could post this on https://github.com/nextcloud/nextant/issues

@Cult

1 Like