Forum Replies Created

Viewing 15 replies - 1 through 15 (of 59 total)
  • Thread Starter japhys

    (@japhys)

    Good to hear! Thanks

    Thread Starter japhys

    (@japhys)

    Thank you very much for your help and patience!

    Thread Starter japhys

    (@japhys)

    I might have missed something in my docker file. I just used the docker file from weaviate website like advised.

    Autoschema_enabled should be set to ‘ false’ right? I did that now and it seems to work.

    If this is what caused it, it’s a bit embarrassing.

    Thread Starter japhys

    (@japhys)

    For future reference, I adde this to my vcl

    sub vcl_recv {
        if (req.url ~ "/wp-load.php") {
            return(pass);
        }
    }
    Thread Starter japhys

    (@japhys)

    OMG found the culprit: Varnish

    Thread Starter japhys

    (@japhys)

    Absolutely wonderful. Got it working. Thanks so much

    +1

    When your plugin is enabled none of the links on my website seem to work anymore. This happens on mobile only. Not just the main menu links stop working but all of the links on the website. This happens in Chrome mobile and Firefox mobile on Android 6 en 8. I can swipe the responsive menu and then it does show the menu items. Tapping on one of the menu items doesn’t do anything though. When the plugin is disabled everthing works fine again.

    No fix yet?

    japhys

    (@japhys)

    (Think) I) am having the samen problem. Plugin causes my entire site to freeze on mobile. None of the links on homepage are working anymore. After disabling plugin everything works fine.

    Thread Starter japhys

    (@japhys)

    Might have to give up after all ??

    Clean and basic LAMP, WP and Solr installations. Followed this Guide: https://guides.wp-bullet.com/install-solr-ubuntu-14-04-for-faster-wordpress-search/

    Solr is running, wp is connected to Solr, data is being send.

    But again:

    Solr HTTP error: OK (400) {“error”:{“metadata”:[“error-class”,”org.apache.solr.common.SolrException”,”root-error-class”,”org.apache.solr.common.SolrException”],”msg”:”undefined field text”,”code”:400}}

    Thread Starter japhys

    (@japhys)

    Thanks will do, will follow the guide in your link step by step

    Thread Starter japhys

    (@japhys)

    thanks very much for your effort!

    Did clear the logs. Double checked everything. Still the same error. It’s driving me nuts. I don’t want to give up though so I will do a clean install of Solr, WordPress and WPsolr this weekend on a new LAMP stack.

    Ultimately I would like to start using WPsolr on a bunch of WordPress sites (and use Solr modules on our corporate Drupal sites as well). These are mostly managed servers so I only have to give them a ‘Go’, however I would like to play around with it myself so I have a basic understanding of what it is capable of.

    Ps we are using GSA on Drupal now which in my opinion is a lot of money for something Solr can do as well.

    Will update this post this weekend

    • This reply was modified 7 years, 6 months ago by japhys.
    Thread Starter japhys

    (@japhys)

    I did both.

    I just reloaded again and looked in logs, it says:

    RequestHandlerBase org.apache.solr.common.SolrException: undefined field text

    org.apache.solr.common.SolrException: undefined field text
    at org.apache.solr.schema.IndexSchema.getDynamicFieldType(IndexSchema.java:1308)
    at org.apache.solr.schema.IndexSchema.getFieldType(IndexSchema.java:1260)
    at org.apache.solr.parser.SolrQueryParserBase.getFuzzyQuery(SolrQueryParserBase.java:1127)
    at org.apache.solr.parser.SolrQueryParserBase.handleBareTokenQuery(SolrQueryParserBase.java:694)
    at org.apache.solr.parser.QueryParser.Term(QueryParser.java:421)
    at org.apache.solr.parser.QueryParser.Clause(QueryParser.java:278)
    at org.apache.solr.parser.QueryParser.Query(QueryParser.java:162)
    at org.apache.solr.parser.QueryParser.Clause(QueryParser.java:282)
    at org.apache.solr.parser.QueryParser.Query(QueryParser.java:162)
    at org.apache.solr.parser.QueryParser.TopLevelQuery(QueryParser.java:131)
    at org.apache.solr.parser.SolrQueryParserBase.parse(SolrQueryParserBase.java:211)
    at org.apache.solr.search.LuceneQParser.parse(LuceneQParser.java:53)
    at org.apache.solr.search.QParser.getQuery(QParser.java:168)
    at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:160)
    at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:269)
    at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:173)
    at org.apache.solr.core.SolrCore.execute(SolrCore.java:2440)
    at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:723)
    at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:529)
    at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:347)
    at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:298)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1691)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
    at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
    at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
    at org.eclipse.jetty.server.Server.handle(Server.java:534)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
    at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
    at java.lang.Thread.run(Thread.java:748)

    Thread Starter japhys

    (@japhys)

    Thanks for you quick reply.

    This is what I did and I thought this to be correct:

    sudo su – solr -c “/opt/solr/bin/solr create -c wpsolr -n data_driven_schema_configs”

    wget -O wpsolr_config.zip https://www.wpsolr.com/wp-content/uploads/2016/09/wpsolr-v5-v6.zip

    unzip wpsolr_config.zip

    cp schema.xml /opt/solr-6.5.1/server/solr/configsets/data_driven_schema_configs/conf/
    cp solrconfig.xml /opt/solr-6.5.1/server/solr/configsets/data_driven_schema_configs/conf/
    cp elevate.xml /opt/solr-6.5.1/server/solr/configsets/data_driven_schema_configs/conf/
    cp stopwords.txt /opt/solr-6.5.1/server/solr/configsets/data_driven_schema_configs/conf/

    nano /opt/solr-6.5.1/server/solr/configsets/data_driven_schema_configs/conf/solrconfig.xml

    I changed LuceneMatchVersion to 6.5.1

    Doens’t the fact that I can see all the data in solr mean the config files are in the right place?

    • This reply was modified 7 years, 6 months ago by japhys.
Viewing 15 replies - 1 through 15 (of 59 total)