Questions tagged [elastica]

Elastica is a PHP client for the elasticsearch full-text search and analytics engine.

Introduction

Elastica is open source and you can download or clone the source code on Github from ruflin/Elastica.

You can find the complete API here.

Requirements

Elastica v.0.20.5 require PHP 5.3 >=, for using Elastica on PHP 5.2 let see Elastica v0.19.8

Download

You can download this project in either zip or tar formats.

The prefered way is to clone Elastica with Git by running:

$ git clone git://github.com/ruflin/Elastica

Composer

You can also install Elastica by using composer:

{
    "require": {
       "ruflin/Elastica": "dev-master"
    }
}
257 questions
-1
votes
1 answer

Elasticsearch bool filter with AND operator

I am trying to write a query which will match multiple names, The below query is fine but it doesn't exact match for e.g it also gives results with the name 'X A' or 'B Y' where I want the name to be exact A or exact B.Can anyone tell me what m I…
Ironman
  • 173
  • 1
  • 3
  • 10
-4
votes
2 answers

Elastica : IN equivalent operator in Elastica

Following this question and it's answers, I'm trying to do the same but with the PHP Elastica and I wasn't successful doing it. I am trying to give my new \Elastica\Query\Terms an array and I can't find the right way to do so. I've tried doing it…
Alexandre Elshobokshy
  • 10,720
  • 6
  • 27
  • 57
1 2 3
17
18