gbirke / dokuwiki_solr Goto Github PK
View Code? Open in Web Editor NEWWith this Dokuwiki plugin you can index and search your pages with an external Solr server
With this Dokuwiki plugin you can index and search your pages with an external Solr server
Fatal error: Cannot declare class DokuWiki_Plugin, because the name is already in use in /Users/Mike/Sites/dokuwiki/inc/plugin.php on line 9
I don't know why and I just replace
Replace it with the following code:
tpl_searchform(true, false); // Search field with ajax and no autocomplete ?>in tql_header because it doesn't exist in main.php
I'm getting the following error after following your instructions for editing the template:
Fatal error: Call to a member function tpl_searchform() on a non-object in /var/www/html/wiki/lib/tpl/default/main.php on line 66
Not entirely sure what I could be doing wrong to cause this error. Any help?
Hi,
Awesome plugin, although it isn't working yet! :-)
Can you send me a list of steps that you would take to troubleshoot this issue?
I've installed solr on ubuntu and I can see the admin console. Went through the examples, still a-ok.
I've also added the search box to the template, which actually requires a code change for the "Vector" template, so I might talk to you later about that. As that template is probably the second most used because of the WikiPedia inspiration going into it...
The search does call solr and returns "Nothing was found.", rather than "Error connecting to solr" so that seems encouraging.
However, when I browse pages or cal the index_all.php no documents are added to solr. the index_all.php does tell me that 130 pages (prob all of them) did return an error, but I cannot find any logs to tell me what went wrong.
I cleared the DokuWiki cache.
Thanks!
Stephan
Hello I am struggling to get the index_all.php to run correctly it is generating the following error.
Is it something you are familiar with?
PHP Warning: simplexml_load_string(): Entity: line 1: parser error : Opening and ending tag mismatch: HR line 1 and body in /var/lib/dokuwiki/lib/plugins/solr/index_all.php on line 110
PHP Warning: simplexml_load_string(): nt').
Hello again,
I am having a little difficulty with the advanced search. My searches will not bring back anything when I narrow down by namespace.
Everything works perfectly when I am just searching in the root and I can find the pages when searching all namespaces with the same query. How does it work because I cannot see namespace in the SOLR index? or the schema???
Thanks
Mike
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.