Coder Social home page Coder Social logo

Comments (11)

ArtificialOwl avatar ArtificialOwl commented on June 25, 2024

./occ nextant:check

How many segments in your index ? Is it slow also to get the result using the check command ?

from fulltextsearch.

aronovgj avatar aronovgj commented on June 25, 2024

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.

ArtificialOwl avatar ArtificialOwl commented on June 25, 2024

i'll have a look, in the meanwhile you can

./occ nextant:optimize

from fulltextsearch.

aronovgj avatar aronovgj commented on June 25, 2024

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.

ArtificialOwl avatar ArtificialOwl commented on June 25, 2024

#64 (comment)

When you do a ./occ nextant:check there is still a delay to display the number of segments ?

from fulltextsearch.

aronovgj avatar aronovgj commented on June 25, 2024

Yes, a 20 seconds delay.

from fulltextsearch.

ArtificialOwl avatar ArtificialOwl commented on June 25, 2024

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.

aronovgj avatar aronovgj commented on June 25, 2024
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.

ArtificialOwl avatar ArtificialOwl commented on June 25, 2024

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.

aronovgj avatar aronovgj commented on June 25, 2024

Works. No more delays.

from fulltextsearch.

ArtificialOwl avatar ArtificialOwl commented on June 25, 2024

ok, 0.6.6 fix that

from fulltextsearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.