Comments (11)
./occ nextant:check
How many segments in your index ? Is it slow also to get the result using the check command ?
from fulltextsearch.
All the output comes immediatelly after running the command, except for the segments. Those take some time.
also running the command repeatedly, the first result is
- 25 segments
the second is
- segments
The third is like the first again.
And the corresponding error:
Trying to get property of non-object at /var/www/nextcloud/apps/nextant/lib/Command/Check.php#90
from fulltextsearch.
i'll have a look, in the meanwhile you can
./occ nextant:optimize
from fulltextsearch.
That is interesting. After doing ./occ nextant:optimize
the error is gone and ./occ nextant:check
shows me 5 segments (what are those anyway? It showed 25 before). corresponding error is also gone.
Everything else is the same, meaning quite a long loading time in the admin panel, empty nextant settings while loading, high CPU usage.
from fulltextsearch.
When you do a ./occ nextant:check there is still a delay to display the number of segments ?
from fulltextsearch.
Yes, a 20 seconds delay.
from fulltextsearch.
Can you have a look to the logs of your solr when you're executing ./occ nextant:check ?
In the meantime, remove this line so your Admin Interface is working
https://github.com/nextcloud/nextant/blob/master/lib/Controller/SettingsController.php#L113
from fulltextsearch.
2016-11-15 23:25:15.678 INFO (qtp736709391-19) [ x:nextant] o.a.s.c.S.Request [nextant] webapp=/solr path=/admin/ping params={json.nl=flat&omitHeader=true&wt=json} hits=10817 status=0 QTime=0
2016-11-15 23:25:15.678 INFO (qtp736709391-19) [ x:nextant] o.a.s.c.S.Request [nextant] webapp=/solr path=/admin/ping params={json.nl=flat&omitHeader=true&wt=json} status=0 QTime=0
2016-11-15 23:25:15.687 INFO (qtp736709391-14) [ x:nextant] o.a.s.c.S.Request [nextant] webapp=/solr path=/schema/dynamicfields/nextant_attr_* params={q=*:*&json.nl=flat&omitHeader=true&fl=*,score&start=0&rows=10&wt=json} status=0 QTime=0
2016-11-15 23:25:15.690 INFO (qtp736709391-19) [ x:nextant] o.a.s.c.S.Request [nextant] webapp=/solr path=/schema/fields/nextant_path params={q=*:*&json.nl=flat&omitHeader=true&fl=*,score&start=0&rows=10&wt=json} status=0 QTime=0
2016-11-15 23:25:15.694 INFO (qtp736709391-14) [ x:nextant] o.a.s.c.S.Request [nextant] webapp=/solr path=/schema/fields/text params={q=*:*&json.nl=flat&omitHeader=true&fl=*,score&start=0&rows=10&wt=json} status=0 QTime=0
2016-11-15 23:25:15.698 INFO (qtp736709391-19) [ x:nextant] o.a.s.c.S.Request [nextant] webapp=/solr path=/schema/fields/nextant_owner params={q=*:*&json.nl=flat&omitHeader=true&fl=*,score&start=0&rows=10&wt=json} status=0 QTime=0
2016-11-15 23:25:15.701 INFO (qtp736709391-14) [ x:nextant] o.a.s.c.S.Request [nextant] webapp=/solr path=/schema/fields/nextant_mtime params={q=*:*&json.nl=flat&omitHeader=true&fl=*,score&start=0&rows=10&wt=json} status=0 QTime=0
2016-11-15 23:25:15.705 INFO (qtp736709391-19) [ x:nextant] o.a.s.c.S.Request [nextant] webapp=/solr path=/schema/fields/nextant_share params={q=*:*&json.nl=flat&omitHeader=true&fl=*,score&start=0&rows=10&wt=json} status=0 QTime=0
2016-11-15 23:25:15.709 INFO (qtp736709391-14) [ x:nextant] o.a.s.c.S.Request [nextant] webapp=/solr path=/schema/fields/nextant_sharegroup params={q=*:*&json.nl=flat&omitHeader=true&fl=*,score&start=0&rows=10&wt=json} status=0 QTime=0
2016-11-15 23:25:15.714 INFO (qtp736709391-19) [ x:nextant] o.a.s.c.S.Request [nextant] webapp=/solr path=/schema/fields/nextant_deleted params={q=*:*&json.nl=flat&omitHeader=true&fl=*,score&start=0&rows=10&wt=json} status=0 QTime=0
2016-11-15 23:25:15.718 INFO (qtp736709391-14) [ x:nextant] o.a.s.c.S.Request [nextant] webapp=/solr path=/schema/fields/nextant_source params={q=*:*&json.nl=flat&omitHeader=true&fl=*,score&start=0&rows=10&wt=json} status=0 QTime=0
2016-11-15 23:25:15.722 INFO (qtp736709391-19) [ x:nextant] o.a.s.c.S.Request [nextant] webapp=/solr path=/schema/fields/nextant_tags params={q=*:*&json.nl=flat&omitHeader=true&fl=*,score&start=0&rows=10&wt=json} status=0 QTime=0
2016-11-15 23:25:15.727 INFO (qtp736709391-14) [ x:nextant] o.a.s.c.S.Request [nextant] webapp=/solr path=/schema/fields/nextant_extracted params={q=*:*&json.nl=flat&omitHeader=true&fl=*,score&start=0&rows=10&wt=json} status=0 QTime=02016-11-15 23:25:15.731 INFO (qtp736709391-19) [ x:nextant] o.a.s.c.S.Request [nextant] webapp=/solr path=/schema/fields/nextant_ocr params={q=*:*&json.nl=flat&omitHeader=true&fl=*,score&start=0&rows=10&wt=json} status=0 QTime=0
2016-11-15 23:25:15.736 INFO (qtp736709391-36) [ x:nextant] o.a.s.c.S.Request [nextant] webapp=/solr path=/schema/fields/nextant_unmounted params={q=*:*&json.nl=flat&omitHeader=true&fl=*,score&start=0&rows=10&wt=json} status=0 QTime=02016-11-15 23:25:15.743 INFO (qtp736709391-12) [ x:nextant] o.a.s.c.S.Request [nextant] webapp=/solr path=/schema/fieldtypes/text_general params={q=*:*&json.nl=flat&omitHeader=true&fl=*,score&start=0&rows=10&wt=json} status=0 QTime=2 2016-11-15 23:25:15.750 INFO (qtp736709391-18) [ x:nextant] o.a.s.c.S.Request [nextant] webapp=/solr path=/select params={q=id:*&json.nl=flat&omitHeader=true&fl=*,score&start=0&rows=0&wt=json} hits=10817 status=0 QTime=1
2016-11-15 23:25:15.758 INFO (qtp736709391-15) [ x:nextant] o.a.s.c.S.Request [nextant] webapp=/solr path=/select params={q=id:files_*&json.nl=flat&omitHeader=true&fl=*,score&start=0&rows=0&wt=json} hits=10817 status=0 QTime=0
2016-11-15 23:25:15.762 INFO (qtp736709391-18) [ x:nextant] o.a.s.c.S.Request [nextant] webapp=/solr path=/select params={q=id:bookmarks_*&json.nl=flat&omitHeader=true&fl=*,score&start=0&rows=0&wt=json} hits=0 status=0 QTime=0
2016-11-15 23:25:34.514 INFO (qtp736709391-15) [ x:nextant] o.a.s.c.S.Request [nextant] webapp=/solr path=/admin/luke params={q=*:*&json.nl=flat&omitHeader=true&fl=*,score&start=0&rows=10&wt=json} status=0 QTime=18748
Also confirming that removing the line helps.
from fulltextsearch.
I have currently no idea why it takes you so long, but would you try this patch and see if ./occ nextant:check is still slow ?
from fulltextsearch.
Works. No more delays.
from fulltextsearch.
ok, 0.6.6 fix that
from fulltextsearch.
Related Issues (20)
- 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
- 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
- Open search result directly
- NC 29 Beta 3: Cron job execution fails because `OC\BackgroundJob\TimedJob` was not found HOT 19
- `No alive nodes. All the 1 nodes seem to be down.` in `fulltextsearch:reset` but `fulltextsearch:stop` is working HOT 4
- [Bug]: scrollto is not executed from fulltextsearch HOT 4
- Hard Error/Force Quit on files with parentheses - ( ) 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.