Displaying 7 results from an estimated 7 matches for "update_index".
2009 Feb 02
5
[Cucumber] Cucumber and acts_as_xapian
...uggling with updating xapian''s index, to actually "find" fluff
that has been indexed..
In a scenario, I''m adding a bunch of articles, and in the actual
search step, I run:
When "I search for \"$query\"" do |query|
%x[rake RAILS_ENV=test xapian:update_index]
fill_in "Search", :with => query
click_button ''Search''
end
At this point in the scenario, I can see there are articles in the
database. But if I try to query the articles using xapian after the
update_index rake task has run, I don''t see any resul...
2017 Feb 27
2
errors on rebuild
...eck: DatabaseCorruptError: Expected block 2763648 to be level 0, not 1
Trying the latest stable version, Xapian 1.4.3, it fails during the rebuild:
All documents removed.
Indexing 2233651 messages
Traceback (most recent call last):
…
File "/a/mailarch/current/haystack/management/commands/update_index.py", line 221, in handle_label
self.update_backend(label, using)
File "/a/mailarch/current/haystack/management/commands/update_index.py", line 266, in update_backend
do_update(backend, index, qs, start, end, total, self.verbosity)
File "/a/mailarch/current/haystack/m...
2006 Mar 01
9
Updating Index Is Very Slow
...is currently very small... with probably less than
100 docs in it.
I have created my index as follows:
GIFT_INDEX = Index::Index.new(:path => "#{index_dir}/gift", :key =>
''id'', :auto_flush => true)
and I have an after_save filter in my model as follows:
def update_index
INDEX << self.to_doc
end
Is there anything I can do to improve this performance?
Thanks,
Tom
2017 Mar 02
2
errors on rebuild
...]
>> Trying the latest stable version, Xapian 1.4.3, it fails during the rebuild:
>>
>> All documents removed.
>> Indexing 2233651 messages
>> Traceback (most recent call last):
>> …
>>
>> File "/a/mailarch/current/haystack/management/commands/update_index.py", line 221, in handle_label
>> self.update_backend(label, using)
>> File "/a/mailarch/current/haystack/management/commands/update_index.py", line 266, in update_backend
>> do_update(backend, index, qs, start, end, total, self.verbosity)
>> File &quo...
2017 Feb 28
0
errors on rebuild
...-check returns this error:
[...]
> Trying the latest stable version, Xapian 1.4.3, it fails during the rebuild:
>
> All documents removed.
> Indexing 2233651 messages
> Traceback (most recent call last):
> …
>
> File "/a/mailarch/current/haystack/management/commands/update_index.py", line 221, in handle_label
> self.update_backend(label, using)
> File "/a/mailarch/current/haystack/management/commands/update_index.py", line 266, in update_backend
> do_update(backend, index, qs, start, end, total, self.verbosity)
> File "/a/mailarc...
2017 Mar 25
0
errors on rebuild
...t stable version, Xapian 1.4.3, it fails during the rebuild:
>>>
>>> All documents removed.
>>> Indexing 2233651 messages
>>> Traceback (most recent call last):
>>> …
>>>
>>> File "/a/mailarch/current/haystack/management/commands/update_index.py", line 221, in handle_label
>>> self.update_backend(label, using)
>>> File "/a/mailarch/current/haystack/management/commands/update_index.py", line 266, in update_backend
>>> do_update(backend, index, qs, start, end, total, self.verbosity)
>>&g...
2006 Jun 12
2
ferret / hyperestraier indexing time
since i cant manage to get the accelerated ferret going (amd64
incompatible C code) and hyperestraier returns 0 results for everything
after a reboot (despite claiming its index is every bit as big as
before) i made a simple rails inverted index that essentially just does
a find_or_create_by_word for each word, and then adds its id to a join
table linking words and documents..
the only