Commit ea1a7128 authored by ale's avatar ale

Switch to govendor, and update dependencies

The bleve API has changed slightly, too.
parent f6567816
Pipeline #456 passed with stages
in 1 minute and 23 seconds

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

{
"ImportPath": "git.autistici.org/ale/liber",
"GoVersion": "go1.6",
"Packages": [
"./..."
],
"Deps": [
{
"ImportPath": "github.com/blevesearch/bleve",
"Rev": "0b171c85da0922a0baf5fd559ec8515dd35cadb8"
},
{
"ImportPath": "github.com/blevesearch/go-porterstemmer",
"Comment": "v1.0.1-9-g23a2c8e",
"Rev": "23a2c8e5cf1f380f27722c6d2ae8896431dc7d0e"
},
{
"ImportPath": "github.com/blevesearch/segment",
"Rev": "db70c57796cc8c310613541dfade3dce627d09c7"
},
{
"ImportPath": "github.com/boltdb/bolt",
"Comment": "v1.2.0-11-g831b652",
"Rev": "831b652a7f8dbefaf94da0eb66abd46c0c4bcf23"
},
{
"ImportPath": "github.com/golang/protobuf/proto",
"Rev": "0dfe8f37844c14cb32c7247925270e0f7ba90973"
},
{
"ImportPath": "github.com/golang/snappy",
"Rev": "5f1c01d9f64b941dd9582c638279d046eda6ca31"
},
{
"ImportPath": "github.com/gorilla/context",
"Rev": "14f550f51af52180c2eefed15e5fd18d63c0a64a"
},
{
"ImportPath": "github.com/gorilla/mux",
"Rev": "14cafe28513321476c73967a5a4f3454b6129c46"
},
{
"ImportPath": "github.com/meskio/epubgo",
"Rev": "815a36010f173a9ff64115e7ce4eafeed82fd404"
},
{
"ImportPath": "github.com/nfnt/resize",
"Rev": "4d93a29130b1b6aba503e2aa8b50f516213ea80e"
},
{
"ImportPath": "github.com/steveyen/gtreap",
"Rev": "0abe01ef9be25c4aedc174758ec2d917314d6d70"
},
{
"ImportPath": "github.com/syndtr/goleveldb/leveldb",
"Rev": "93fc893f2dadb96ffde441c7546cc67ea290a3a8"
},
{
"ImportPath": "github.com/willf/bitset",
"Comment": "v1.0.0-51-g9e6a3a7",
"Rev": "9e6a3a78f0d21857563022786c047cb8c0958aa1"
},
{
"ImportPath": "golang.org/x/net/context",
"Rev": "3e8a7b0329d536af18e227bb21b6da4d1dbbe180"
},
{
"ImportPath": "golang.org/x/net/html",
"Rev": "3e8a7b0329d536af18e227bb21b6da4d1dbbe180"
},
{
"ImportPath": "golang.org/x/text/encoding",
"Rev": "1b466db55e0ba5d56ef5315c728216b42f796491"
},
{
"ImportPath": "golang.org/x/text/internal/tag",
"Rev": "1b466db55e0ba5d56ef5315c728216b42f796491"
},
{
"ImportPath": "golang.org/x/text/internal/utf8internal",
"Rev": "1b466db55e0ba5d56ef5315c728216b42f796491"
},
{
"ImportPath": "golang.org/x/text/language",
"Rev": "1b466db55e0ba5d56ef5315c728216b42f796491"
},
{
"ImportPath": "golang.org/x/text/runes",
"Rev": "1b466db55e0ba5d56ef5315c728216b42f796491"
},
{
"ImportPath": "golang.org/x/text/transform",
"Rev": "1b466db55e0ba5d56ef5315c728216b42f796491"
}
]
}
This directory tree is generated automatically by godep.
Please do not edit.
See https://github.com/tools/godep for more information.
#*
*.sublime-*
*~
.#*
.project
.settings
**/.idea/
**/*.iml
.DS_Store
/analysis/token_filters/cld2/cld2-read-only
/analysis/token_filters/cld2/libcld2_full.a
/utils/bleve_create/bleve_create
/utils/bleve_dump/bleve_dump
/utils/bleve_index/bleve_index
/utils/bleve_bulkindex/bleve_bulkindex
/utils/bleve_index/index.bleve/
/utils/bleve_query/bleve_query
/utils/bleve_registry/bleve_registry
/y.output
*.test
tags
sudo: false
language: go
go:
- 1.5
script:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
- go get github.com/kisielk/errcheck
- go test -v ./...
- go test -v ./test -indexType=firestorm
- go vet ./...
- errcheck ./...
- docs/project-code-coverage.sh
- docs/build_children.sh
notifications:
email:
- marty.schoch@gmail.com
# ![bleve](docs/bleve.png) bleve
[![Build Status](https://travis-ci.org/blevesearch/bleve.svg?branch=master)](https://travis-ci.org/blevesearch/bleve) [![Coverage Status](https://coveralls.io/repos/blevesearch/bleve/badge.png?branch=master)](https://coveralls.io/r/blevesearch/bleve?branch=master) [![GoDoc](https://godoc.org/github.com/blevesearch/bleve?status.svg)](https://godoc.org/github.com/blevesearch/bleve) [![Join the chat at https://gitter.im/blevesearch/bleve](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/blevesearch/bleve?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)[![codebeat](https://codebeat.co/badges/38a7cbc9-9cf5-41c0-a315-0746178230f4)](https://codebeat.co/projects/github-com-blevesearch-bleve)
modern text indexing in go - [blevesearch.com](http://www.blevesearch.com/)
Try out bleve live by [searching our wiki](http://wikisearch.blevesearch.com/search/).
## Features
* Index any go data structure (including JSON)
* Intelligent defaults backed up by powerful configuration
* Supported field types:
* Text, Numeric, Date
* Supported query types:
* Term, Phrase, Match, Match Phrase, Prefix
* Conjunction, Disjunction, Boolean
* Numeric Range, Date Range
* Simple query [syntax](http://www.blevesearch.com/docs/Query-String-Query/) for human entry
* tf-idf Scoring
* Search result match highlighting
* Supports Aggregating Facets:
* Terms Facet
* Numeric Range Facet
* Date Range Facet
## Discussion
Discuss usage and development of bleve in the [google group](https://groups.google.com/forum/#!forum/bleve).
## Indexing
message := struct{
Id string
From string
Body string
}{
Id: "example",
From: "marty.schoch@gmail.com",
Body: "bleve indexing is easy",
}
mapping := bleve.NewIndexMapping()
index, err := bleve.New("example.bleve", mapping)
if err != nil {
panic(err)
}
index.Index(message.Id, message)
## Querying
index, _ := bleve.Open("example.bleve")
query := bleve.NewQueryStringQuery("bleve")
searchRequest := bleve.NewSearchRequest(query)
searchResult, _ := index.Search(searchRequest)
## License
Apache License Version 2.0
// Copyright (c) 2014 Couchbase, Inc.
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
// except in compliance with the License. You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software distributed under the
// License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
// either express or implied. See the License for the specific language governing permissions
// and limitations under the License.
package custom_analyzer
import (
"fmt"