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
|
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
|
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
|
cae9cd392b
|
you have to flush the index to write the data to the file
|
2011-05-10 15:44:13 +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 |
|