Skip to content

Commit 0e1d397

Browse files
committed
Release 1.1.1
1 parent b9d6a10 commit 0e1d397

10 files changed

Lines changed: 17 additions & 11 deletions

File tree

.DS_Store

6 KB
Binary file not shown.

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 1.1.1 - Dec 9, 2014
4+
- Add support for lucene queries
5+
- Add support for specifying protocol
6+
- Bug fix for port config
7+
38
## 1.1.0 - Oct 19 2014
49
- Add pagination
510
- Add time taken and hits count for query

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Calaca is a beautiful, easy to use, search UI for Elasticsearch. It's made for y
77
- Minimum configs required
88
- Displays hits count and time taken for query
99
- Supports pagination
10+
- Full support for lucene queries(boolean, range, etc)
1011

1112
Demo
1213
=========
@@ -26,7 +27,7 @@ In **config.js** change the configs to match your Elasticsearch cluster.
2627
var indexName = "name"; //Ex: twitter
2728
var docType = "type"; //Ex: tweet
2829
var maxResultsSize = 10;
29-
var host = "localhost"; //Ex: http://ec2-123-aws.com
30+
var host = "localhost"; //Ex: ec2-123-aws.com
3031
var port = 9200;
3132
var protocol = ""; //Default: same as browser
3233
```
@@ -53,7 +54,7 @@ You can easily change the look and feel of Calaca by implementing the below CSS
5354
Version
5455
----
5556

56-
1.1.0
57+
1.1.1
5758

5859
Author
5960
----

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Calaca",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"homepage": "https://github.com/romansanchez/Calaca",
55
"authors": [
66
"Roman Sanchez http://romansanchez.me"

bower_components/.DS_Store

6 KB
Binary file not shown.

css/calaca.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* http://romansanchez.me
55
* @rooomansanchez
66
*
7-
* v1.1.0
7+
* v1.1.1
88
* MIT License
99
*/
1010

js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* http://romansanchez.me
55
* @rooomansanchez
66
*
7-
* v1.1.0
7+
* v1.1.1
88
* MIT License
99
*/
1010

js/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* http://romansanchez.me
55
* @rooomansanchez
66
*
7-
* v1.1.0
7+
* v1.1.1
88
* MIT License
99
*/
1010

js/controllers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* http://romansanchez.me
55
* @rooomansanchez
66
*
7-
* v1.1.0
7+
* v1.1.1
88
* MIT License
99
*/
1010

js/services.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* http://romansanchez.me
55
* @rooomansanchez
66
*
7-
* v1.1.0
7+
* v1.1.1
88
* MIT License
99
*/
1010

@@ -17,7 +17,7 @@ Calaca.factory('calacaService', ['$q', 'esFactory', '$location', function($q, el
1717

1818
var client = elasticsearch({ host: esProtocol + '://' + esHost + ":" + port });
1919

20-
var search = function(term, mode, offset){
20+
var search = function(query, mode, offset){
2121

2222
var deferred = $q.defer();
2323

@@ -28,8 +28,8 @@ Calaca.factory('calacaService', ['$q', 'esFactory', '$location', function($q, el
2828
"size": maxResultsSize,
2929
"from": offset,
3030
"query": {
31-
"match": {
32-
"_all": term
31+
"query_string": {
32+
"query": query
3333
}
3434
}
3535
}

0 commit comments

Comments
 (0)