Download the PHP package dachcom-digital/dynamic-search-index-provider-lucene without Composer

On this page you can find all versions of the php package dachcom-digital/dynamic-search-index-provider-lucene. 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 dynamic-search-index-provider-lucene

Dynamic Search | Index Provider: PHP Lucene

Latest Release Tests PhpStan

An index storage extension for Pimcore Dynamic Search. Store data with the PHP Lucene index service.

Release Plan

Release Supported Pimcore Versions Supported Symfony Versions Release Date Maintained Branch
3.x 11.0 ^6.2 28.09.2023 Feature Branch master
2.x 10.0 - 10.6 ^5.4 19.12.2021 No 2.x
1.x 6.6 - 6.9 ^4.4 18.04.2021 No 1.x

Installation

Dependencies

This package will also install a fork of ZendSearch to provide the latest PHP compatibility.

Dynamic Search Bundle

You need to install / enable the Dynamic Search Bundle first. Read more about it here. After that, proceed as followed:

Add Bundle to bundles.php:


Basic Setup


Provider Options

Name Default Value Description
database_name null
force_adding_document true
analyzer []

Index Fields

Available Index Fields:

Name Description
binary Binary fields are not tokenized or indexed, but are stored for retrieval with search hits. They can be used to store any data encoded as a binary string, such as an image icon.
keyword Keyword fields are stored and indexed, meaning that they can be searched as well as displayed in search results. They are not split up into separate words by tokenization.
text Text fields are stored, indexed, and tokenized. Text fields are appropriate for storing information like subjects and titles that need to be searchable as well as returned with search results.
unIndexed UnIndexed fields are not searchable, but they are returned with search hits. Database timestamps, primary keys, file system paths, and other external identifiers are good candidates for UnIndexed fields.
unStored UnStored fields are tokenized and indexed, but not stored in the index. Large amounts of text are best indexed using this type of field. Storing data creates a larger index on disk, so if you need to search but not redisplay the data, use an UnStored field.

Output Channel Services

Autocomplete

Identifier: lucene_autocomplete
Available Options:

Name Default Value Description
min_prefix_length 3
use_fuzzy_term_search_fallback true
fuzzy_default_prefix_length
fuzzy_similarity 0.5

Suggestions

Identifier: lucene_suggestions
Available Options:

Name Default Value Description
min_prefix_length 3
result_limit 10
only_last_word_wildcard false
multiple_words_operator 'OR'
restrict_search_fields []
restrict_search_fields_operator 'OR'

Search

Identifier: lucene_search
Available Options:

Name Default Value Description
min_prefix_length 3
max_per_page 10

Multi Search

Identifier: lucene_multi_search
Available Options: none


Filter

RelationsFilter

Identifier: relations
Available Options:

Name Default Value Allowed Type Description
identifier null string
value null string
label null string, null
show_in_frontend true bool
relation_label null closure, null

Output Normalizer

A Output Normalizer can be defined for each output channel.

lucene_document_key_value_normalizer

Available Options:

Name Default Value Description
skip_fields []

Further Information


Copyright and License

Copyright: DACHCOM.DIGITAL
For licensing details please visit LICENSE.md

Upgrade Info

Before updating, please check our upgrade notes!


All versions of dynamic-search-index-provider-lucene with dependencies

PHP Build Version
Package Version
Requires pimcore/pimcore Version ^11.0
dachcom-digital/dynamic-search Version ^3.0
dachcom-digital/zendsearch Version ~3.0.1
wamania/php-stemmer Version ~1.2
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 dachcom-digital/dynamic-search-index-provider-lucene contains the following files

Loading the files please wait ....