Gibheer
|
e14c7ee9ac
|
added a small benchmark
|
2011-06-08 08:15:25 +02:00 |
Gibheer
|
0cb40b86f2
|
it is now building a small block out of the term parameters
|
2011-06-08 08:14:03 +02:00 |
Gibheer
|
41ec65a7a2
|
- Polecat is now a module and can be included
- a dependency to FileUtils was missing
|
2011-06-07 06:41:55 +02:00 |
Gibheer
|
c4f5831e64
|
delete the old document files, as they are not needed anymore
|
2011-06-07 06:35:12 +02:00 |
Gibheer
|
2c345cd877
|
more to read
|
2011-06-06 21:00:31 +02:00 |
Gibheer
|
202e5c33f7
|
Regenerate gemspec for version 0.0.2
|
2011-06-06 20:37:01 +02:00 |
Gibheer
|
1012d3c845
|
Version bump to 0.0.2
|
2011-06-06 20:36:34 +02:00 |
Gibheer
|
73a4ae21c8
|
because of a missing ! the relationship per :or returned false documents
|
2011-06-06 20:34:52 +02:00 |
Gibheer
|
0f91ea03d2
|
Regenerate gemspec for version 0.0.1
|
2011-06-06 20:15:11 +02:00 |
Gibheer
|
d0a8478734
|
Regenerate gemspec for version 0.0.1
|
2011-06-06 20:13:48 +02:00 |
Gibheer
|
cf05635f2f
|
ignore the Gemfile.lock
|
2011-06-06 20:13:37 +02:00 |
Gibheer
|
38021792e0
|
added .rvmrc to ignore
|
2011-06-06 20:11:47 +02:00 |
Gibheer
|
8a98e3c5c8
|
Version bump to 0.0.1
|
2011-06-06 20:06:27 +02:00 |
Gibheer
|
4a70c52212
|
Version bump to 0.0.0
|
2011-06-06 20:06:13 +02:00 |
Gibheer
|
68306d1f08
|
Document was replaced with Virtus, an attribute Gem from solnic
see http://github.com/solnic/virtus for more informations
|
2011-06-06 18:47:01 +02:00 |
Gibheer
|
ffa9e96a9f
|
searches are now done with Queries, which contain Terms
|
2011-06-06 16:08:37 +02:00 |
Gibheer
|
80151adab2
|
delete the old index, because it's obselete
|
2011-05-31 20:34:09 +02:00 |
Gibheer
|
aaff085b47
|
changed the search from an each to a select, which returns an array
|
2011-05-31 08:12:51 +02:00 |
Gibheer
|
329f4d6d4b
|
it's now possible to search on the default field
|
2011-05-30 22:23:38 +02:00 |
Gibheer
|
9a1c4eff90
|
fixed a bug in IndexReader#read which returned a hash instead of an
array
|
2011-05-30 22:22:52 +02:00 |
Gibheer
|
3e12494e44
|
* changed the method IndexSearcher#initialize to only use hashes
* added IndexSearcher#search for strings only
|
2011-05-30 21:56:02 +02:00 |
Gibheer
|
6c685b4840
|
some refactor in the index searcher
|
2011-05-30 20:20:17 +02:00 |
Gibheer
|
90a13feab4
|
some refactor of the code
|
2011-05-30 20:19:05 +02:00 |
Gibheer
|
d5057a5a26
|
* new basis for the save and load system of the index
* the old index will disappear and IndexSearcher will be the interface
for searching through the index
|
2011-05-30 18:36:51 +02:00 |
Gibheer
|
fcfc48c3ec
|
convert the method to attr_reader
|
2011-05-30 16:01:30 +02:00 |
Gibheer
|
7e6b2c1340
|
ignore the tmp directory, which is just for testing purpose
|
2011-05-30 12:47:54 +02:00 |
Gibheer
|
5287f5e5ac
|
added documentation
|
2011-05-30 12:46:07 +02:00 |
Gibheer
|
402ef4e491
|
* small doc change in document.rb
* added IndexWriter to let the checks pass
|
2011-05-26 21:42:18 +02:00 |
Gibheer
|
1f9817960a
|
added a new spec for IndexWriter#write
|
2011-05-26 21:41:42 +02:00 |
Gibheer
|
bd8230c4fc
|
specs for the index writer, which is responsible for writing the
documents into the index dir
|
2011-05-26 21:18:46 +02:00 |
Gibheer
|
b9caf75d53
|
put Document and DocumentResource into the Polecat namespace
|
2011-05-24 14:41:09 +02:00 |
Gibheer
|
b11090d145
|
some smaller clean up in the classes and documentation
|
2011-05-24 11:54:42 +02:00 |
Gibheer
|
b171eeaa3d
|
the index is now using the documents for searching
|
2011-05-24 11:12:38 +02:00 |
Gibheer
|
720228945f
|
the index is now using the marshal format for reading and writing the
data
|
2011-05-23 20:54:28 +02:00 |
Gibheer
|
f0ea1944da
|
test with all rubies
|
2011-05-20 15:29:53 +02:00 |
Gibheer
|
24ba8c1761
|
README update
|
2011-05-18 11:53:39 +02:00 |
Gibheer
|
cae9cd392b
|
you have to flush the index to write the data to the file
|
2011-05-10 15:44:13 +02:00 |
Gibheer
|
2ce1f3b9cb
|
find terms in lines
|
2011-05-10 14:38:02 +02:00 |
Gibheer
|
4274de4f02
|
returns all lines, which have a match
|
2011-05-10 14:36:37 +02:00 |
Gibheer
|
99fa77b82b
|
check, if the index dir has an index
|
2011-05-09 15:32:58 +02:00 |
Gibheer
|
b771e23219
|
initial commit with an already somewhat working index
|
2011-05-07 22:02:28 +02:00 |
Gibheer
|
93cf6efa0d
|
Initial commit to polecat.
|
2011-05-07 19:32:28 +02:00 |