Commit graph

33 commits

Author SHA1 Message Date
Ben Johnson
3c832591df move index package to root package
This commit moves the index package to the root. Because pilosa
is an index at its core, it's redundant to have an index
subpackage. It also provides better naming such as `pilosa.Bitmap`
instead of `index.Bitmap`.
2015-08-31 16:54:53 -06:00
Ben Johnson
73631de9e8 vet 2015-08-20 13:46:39 -06:00
Ben Johnson
6fdd32d5ce remove core.Service 2015-08-20 13:15:27 -06:00
Ben Johnson
2f1e3b6078 Refactor config & service
This commit refactors the config into a `main.Config` object instead
of a global singleton. The `core.Service` is also refactored into
the `main` package and individual pieces of the service are wired
together by the `pilosa` binary.

These two changes are required to begin to decouple packages from
one another and allow them to be individually unit tested. Previously
most top-level objects in the system could access any other top-level
object through the `core.Service` which effectively made `Service` a
singleton in the system. Each top-level object now has inline interfaces
for their dependencies so that can be set at runtime by the `main`
package or can be mocked by a test package.
2015-08-12 15:34:23 -06:00
travisturner
33dd34107a Remove commented code
Some commented test code was left in case these are tests that
need to be implemented.
2015-08-07 17:29:57 -05:00
Ben Johnson
b06ecf3320 Update import path
This commit updates the import path from:

```
pilosa/*
```

to:

```
github.com/umbel/pilosa/*
```

This follows standard Go convention and makes the project "go gettable".

The README was also updated to reflect the changes.
2015-08-05 22:50:38 -06:00
Todd Gruben
170fe96661 added new logging technique 2015-02-09 22:26:45 +00:00
Todd Gruben
377d850534 added new logging setup 2015-02-05 21:09:07 +00:00
Todd Gruben
d8d5a8dfcb clear_vits v1 2015-02-05 00:22:12 +00:00
Todd Gruben
c87f3f8632 removed executor timing for no longer applicable 2015-01-23 17:54:34 +00:00
Todd Gruben
8e796a5edf removed pql from setbit path 2015-01-22 17:22:08 +00:00
Todd Gruben
c6e3788a20 first pass at remote setbit, doesn't work 2015-01-21 20:28:07 +00:00
Todd Gruben
512ccaf3b9 pass #1 top filler 2014-08-11 13:49:29 -05:00
Todd Gruben
ef56ef6af3 added filter(category) to data model 2014-04-01 15:42:35 -05:00
travisturner
2bcd86492e remove spew HOLD-SET 2014-01-30 19:00:49 -06:00
Todd Gruben
3d1caa37b1 add batch loader 2014-01-17 19:18:59 -06:00
travisturner
c1edbb9382 preparation for macro support. clean up the RunQuery logic 2014-01-10 13:24:53 -06:00
travisturner
bc62bc47e9 PortableQueryStep interface to help transfer query-steps across processes 2014-01-08 15:08:54 -06:00
travisturner
b2c9b1860d Union/Intersect Query & Result support 2014-01-08 12:11:02 -06:00
travisturner
71c782ae6a create Get/Count QueryResult as a db.HoldResult to return results. added ResultData() method to HoldResult interface 2014-01-08 11:15:17 -06:00
travisturner
695f10d668 minor code cleanup 2014-01-07 18:54:24 -06:00
travisturner
fc5eb909ae remove some debugging lines 2014-01-07 17:43:57 -06:00
travisturner
6968507296 resolved merge conflicts 2014-01-07 08:37:40 -06:00
travisturner
763a649f1a make profile_id uint64. handle Get/Set/Cat QuerySteps 2014-01-06 20:18:41 -06:00
Cody Soyland
0a50f18eca Use HoldResult interface to route responses from dispatch. Added standalone ping function. 2014-01-06 16:20:31 -06:00
Cody Soyland
11d964339c Basic ping working. 2014-01-03 18:14:04 -06:00
travisturner
06cfd62025 remove some comments 2014-01-03 17:17:50 -06:00
travisturner
7fc18eca93 a basic executor and QueryStep handler 2014-01-03 15:14:51 -06:00
travisturner
bbabae12ef stub out the service.Executor process 2013-12-31 13:45:55 -06:00
travisturner
0ea1b17ea1 add query.Execute(pql) to http/query handler 2013-12-27 13:46:07 -06:00
travisturner
6d7c683a8a added a temp HTTP listener to transport.tcp so i could test the dispatch calls to process (index) 2013-12-27 11:18:51 -06:00
Cody Soyland
781ecd0ce4 gofmt all the things! 2013-12-16 11:21:27 -06:00
Cody Soyland
37167299cb Move things around, lay out framework for transport/dispatch logic 2013-12-13 14:06:49 -06:00