SolrQueryComponent

Build Solr queries with ease

  • Owner: pupunzi/jquery.mb.menu
  • Platform:
  • License::
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

SolrQueryComponent

Gitter
Build Status Dependency Status Average time to resolve an issue Percentage of issues still open

Build Solr queries with ease

SolrQueryComponent helps building Solr/Lucene/ElasticSearch queries with a query builder API. It is independent of
the concrete client library and can be used with e.g. PECL Solr or
Solarium.

Examples

Build name:"John Doe"^100

<?php
use InterNations\Component\Solr\Expression\ExpressionBuilder;

$eb = new ExpressionBuilder();
echo $eb->field('name', $eb->boost($eb->eq('John Doe'), 100));

And the same with the query string object:

<?php
use InterNations\Component\Solr\Query\QueryString;

echo (new QueryString('name:<name>^<boost>'))
    ->setPlaceholder('name', 'John Doe')
    ->setPlaceholder('boost', 100);

Learn more on how to use the component in docs/.

Main metrics

Overview
Name With Ownerpupunzi/jquery.mb.menu
Primary LanguageJavaScript
Program languagePHP (Language Count: 3)
Platform
License:
所有者活动
Created At2010-03-12 18:39:44
Pushed At2020-10-08 15:54:49
Last Commit At2020-10-08 17:54:48
Release Count11
Last Release Name2.9.7 (Posted on 2013-11-20 21:41:49)
First Release Name2.7.6 (Posted on )
用户参与
Stargazers Count74
Watchers Count7
Fork Count33
Commits Count112
Has Issues Enabled
Issues Count12
Issue Open Count3
Pull Requests Count4
Pull Requests Open Count1
Pull Requests Close Count1
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private