Download the PHP package arckinteractive/elgg_solr without Composer

On this page you can find all versions of the php package arckinteractive/elgg_solr. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package elgg_solr

elgg_solr

Speed up site search by using a dedicated Solr search index

This plugin follows the structure of the default Elgg search plugin, can be extended using the same search plugin hooks.

Dependencies

Installation

  1. Download the plugin and upload it to /mod/elgg_solr, or install with composer composer require arckinteractive/elgg_solr:~2.0

  2. In Admin > Plugins, reorder the elgg_solr plugin to be positioned under search plugin, and enable it

  3. Create a new Solr instance and configure it:

    • Make sure that /<instance>/conf/solrconfig.xml is set to use classic index schema: <schemaFactory class="ClassicIndexSchemaFactory"></schemaFactory>
    • Copy contents of install/schema.xml (or install/schema.solr5.xml for Solr 5+) included in the root of the plugin to /<instance>/conf/schema.xml
      • Copy contents of install/solrconfig.solr5.xml to `//conf/solrconfig.xml if using solr 5
  4. Update elgg_solr plugin settings to point to the new Solr instance

  5. Trigger a reindex from the plugin setting page

  6. Ensure that daily cron is configured and active

Plugin hooks

search, <search_type>

search, <entity_type>

search, <entity_type>:<entity_subtype>

These hooks can be used to modify search criteria

elgg_solr:index, <entity_type>

elgg_solr:index, <entity_type>:<entity_subtype>

elgg_solr:index, annotation

These hooks can be used to customize indexed fields

elgg_solr:can_index, annotation

Allows to add annotations to index by name

elgg_solr:access, entities

Allows plugins to add additional access queries.

Indexing

Tuning indexed values

Indexed values can be customized using 'elgg_solr:index',<entity_type>' hook:

Adding annotations to index

To add an annotation to the index, add annotation name to the return of the 'elgg_solr:can_index','annotation':

Indexed values

Entity

User

In addition to Entity fields:

Group

In addition to Entity fields:

File

To index file contents, enable extraction (extract_handler) in plugin settings.

In addition to Entity fields:


All versions of elgg_solr with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
composer/installers Version ^1.2
solarium/solarium Version 3.6.*
ezyang/htmlpurifier Version 4.7.0
jumbojett/vroom Version dev-master
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package arckinteractive/elgg_solr contains the following files

Loading the files please wait ....