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
|
07a8707e75
|
changed some todo items
|
2011-06-10 20:47:32 +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
|
c2a5caa487
|
some more todo items
|
2011-06-10 10:55:53 +02:00 |
Gibheer
|
aa153bc68c
|
added an abstract stemmer and an implementation of a simple stemmer
|
2011-06-10 00:40:03 +02:00 |
Gibheer
|
6285ef9fdf
|
added a todo list for further development
|
2011-06-10 00:09:32 +02:00 |
Gibheer
|
e590b071b8
|
fixed a typo
|
2011-06-09 21:27:32 +02:00 |
Gibheer
|
b7affecab2
|
made a mistake for setting the thread count
|
2011-06-09 09:19:28 +02:00 |
Gibheer
|
e2a4d6584b
|
changed the benchmark to use different counts of threads
|
2011-06-09 07:43:03 +02:00 |
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 |