Gibheer
|
e2d93d203b
|
added #each to the storage
|
2011-07-22 16:31:22 +02:00 |
Gibheer
|
98e208c874
|
added [] and []= als aliases for find and add
|
2011-06-22 07:46:28 +02:00 |
Gibheer
|
665109f544
|
modified benchmark to use the new storages
|
2011-06-20 11:06:36 +02:00 |
Gibheer
|
1d2035c637
|
added a binary tree storage
|
2011-06-16 13:18:43 +02:00 |
Gibheer
|
61b962fea3
|
* fixed a small bug with ruby 1.9.2 and #<=>
* this method is implemented for every object, so another check is
needed
|
2011-06-16 13:16:56 +02:00 |
Gibheer
|
f0dbb9e39f
|
built a simple storage engine based on a hash and an abstract class to
have an interface for the next one
|
2011-06-16 13:15:56 +02:00 |
Gibheer
|
febf0a7a2e
|
fixed a typo in the docs
|
2011-06-10 21:23:44 +02:00 |
Gibheer
|
6d2ffb8ec7
|
added an analyzer to get the all chunks out of content
this will be used for building the index
|
2011-06-10 20:45:16 +02:00 |
Gibheer
|
9fa082d8d9
|
a simple stemmer which should work for very simple things
it should get extended in the feature to do all the stuff for english
languages
|
2011-06-10 15:30:20 +02:00 |
Gibheer
|
8e6c5fa321
|
remove the abstract stemmer class, because we only need an interface
|
2011-06-10 15:29:31 +02:00 |
Gibheer
|
aa153bc68c
|
added an abstract stemmer and an implementation of a simple stemmer
|
2011-06-10 00:40:03 +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
|
73a4ae21c8
|
because of a missing ! the relationship per :or returned false documents
|
2011-06-06 20:34:52 +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
|
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 |