Giter Site home page Giter Site logo

cosmocode / dokuwiki-plugin-elasticsearch Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 5.0 2.66 MB

Integrate an external Elasticsearch engine into DokuWiki

Home Page: https://www.dokuwiki.org/plugin:elasticsearch

PHP 98.97% Less 1.03%
elasticsearch search dokuwiki-plugin php

dokuwiki-plugin-elasticsearch's Introduction

elasticsearch Plugin for DokuWiki

Elasticsearch indexing and searching

All documentation for this plugin can be found at
https://www.dokuwiki.org/plugin:elasticsearch

If you install this plugin manually, make sure it is installed in
lib/plugins/elasticsearch/ - if the folder is called different it
will not work!

Please refer to http://www.dokuwiki.org/plugins for additional info
on how to install plugins in DokuWiki.

----
Copyright (C) Andreas Gohr, Anna Dabrowska <[email protected]>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

See the COPYING file in your DokuWiki folder for details

dokuwiki-plugin-elasticsearch's People

Contributors

annda avatar rkaldung avatar splitbrain avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dokuwiki-plugin-elasticsearch's Issues

Limit search to media type

It would be nice if one could define what kind of media to search in the advanced view.

A dropdown with

  • All
  • Pages
  • Media
  • Documents
  • Images

For the latter two, we would probably hardcode the extensions to use.

Ability to index included files

Hello,
I would like to know if it is possible to index the files included in a page, like pdf docx and others.

Thank you.

Unable to create index

Hello,
i installed elastic search with the help of this tutorial on my cent os 7. https://linuxize.com/post/how-to-install-elasticsearch-on-centos-7/

After this, i downloaded your elasticsearch plugin for dokuwiki. All fine. But i dont understand, how to create the index. In your documentation you wrote, running from cli "./bin/plugin.php elasticsearch createindex"
But in my linux cli i cannot run a php script. Running in my browser, my apache reported - no permissions on plugin.php and spaces within a url is strange.

So - how can i create the index to get the plugin working. Thanks

cant search other language versions

hi, I am making a multi-language wiki which is something like a glossary. I need people to be able to search in their own language and find the pertinent article, but search only works for the english article. i.e. it only seems to search the namespace name of the article (the one which appears in the url.

I'll give an example:
the EN article is "Abyss", the DE is "Abgrund", the PT is "Abismo", I can't find the latter two through the search box... can you help?

Using analyzer other than [standard]

Hi there,
I am using another analyzer other than [standard] so I created an index with default analyzer set as [kuromoji"],
the language settings of my dokuwiki is in Japanese so "kuromoji" will work well with Japanese tokenizer.
About kuromoji
https://www.atilika.org/

When I try to indexing the created index using the plugin command "./plugin.php elasticsearch index",
the error says I cannot update parameter [analyzer] from [kuromoji] to [standard].
I do not want to use [standard] analyzer or text field, is there anyway that I can create an index for dokuwiki
without auto generating the mapping of analyzer to [standard] for text fields?

first_create_index_with_analyzer_kuromoji

kuromoji_index

specify_created_index_as_dokuwiki_index

index_generate_error_occur

Here is the original dokuwiki index used, I would like to have analyzer "kuromoji" for text fields instead.
want_kuromoji_instead

Would appreciate any feedback.

Search Media Files

It's relatively simple to add additional data to the elastic search index. It would be desirable to make use of it for media files as well.

The feature would index media files either on upload or through a periodic job (cron or builtin task runner). To index the contents of the media files, external tools (like pdftotext, etc) could be configured or an instance of Apache Tika could be queried.

This would be similar to the popular docsearch plugin but backed by the more powerful Elastic Search search engine, making it more feasible to index a large number of documents.

Media search will be integrated into the search. Search results could then be filtered by type.

๐Ÿ’ฐ We're looking for a sponsor to invest in implementing this feature. If you're interested please contact us at [email protected]

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.