Displaying 20 results from an estimated 100000 matches similar to: "index updates"
2007 May 02
1
MultiSearcher Results Question
If searching multiple indexes with a single searcher is there anyway to
identify which index a resulting doc is stored in?
i1 = Ferret::I.new
i2 = Ferret::I.new
i1 << {:id=>1,:text=>"random stuff"}
i1.commit
reader =
Ferret::Index::IndexReader.new([i1.options[:dir],i2.options[:dir]])
searcher = Ferret::Index::IndexSearcher.new(reader)
query =
2006 Oct 25
4
Search result inconsistencies due to indexing
I seem to be having problems with getting my searcher to be consistent
while indexing. I am running the latest version of ferret (0.10.13) and
I am using the Searchable plugin. Currently the way it indexes is by
using a callback in the model of either after_update or after_create to
index the fields that I have setup to be indexed.
Right now I update the index about once every 4 or 5
2007 Aug 08
3
issues with index for table with over 18 million records
I have a MySQL table with over 18 million records in it. We are
indexing about 10 fields in this table with ferret.
I am having problems with the initial building of the index. I created
a rake task to run the "Model.rebuild_index" command in the background.
That process ran fine for about 2.5 days before it just suddenly
stopped. The log/ferret_index.log file says it got to about
2007 Oct 04
2
Offline indexing issues
If I disable ferret in my environment file and then run a cron job
every hour to index the records that have been added/changed, do I
enable Ferret just in the script that does the hourly indexing? Or do
I somehow need to tell the process that runs the Ferret DRB server
that it should start writing to the index again? Thanks in advance.
Erik
2007 Mar 05
2
Is indexing slower?
Hi - I upgraded to Ferret 0.11.3 from 0.10.13.
I used to index 10,000 records in 10 secs. Now it takes 13 minutes.
(That''s a factor of ~75x)
Did something change in the flush semantics, or something?
Thanks!
Schnitz
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Oct 11
6
Indexing problem 10.9/10.10
Sorry if this is a repost- I wasn''t sure if the www.ruby-forum.com
list works for postings.
I''ve been having trouble with indexing a large amount of documents(2.4M).
Essentially, I have one process that is following the tutorial
dumping documents to an index stored on the file system. If I open the
index with another process, and run the size() method it is stuck at
a number
2007 Jan 10
2
Corrupt index and segfaults with heavy writes?
Hi everyone,
We''re running a fairly heavily used Rails app that uses ferret (and
acts_as_ferret) for search. We''re running on mongrel+Apache, Ruby
1.8.4, and ferret 0.10.13. We''re indexing a handful of attributes on
our "Image" and "User" models.
After the system has been running for several days, the index gradually
becomes corrupted, and ferret
2006 Nov 17
4
undefined method `exists?''
Anyone ever run into this error message when creating a new FieldInfos?
Ferret::Index::FieldInfos.new(:store=>:no)
NoMethodError: undefined method `exists?'' for {:store=>:no}:Hash
--
Posted via http://www.ruby-forum.com/.
2006 Jan 02
3
Multiple indexes?
Hi,
I''m indexing records from different database tables and they have
identical column names in many cases. Does this mean I have to create
different indexes for each table?
TIA,
Vamsee.
2007 Apr 12
2
Ferret 0.11.4.win32 indexing speed vs Ferret 0.10.9.win32
Firstly, thanks Dave for all your hard work. Ferret Rocks!,
I am just testing 0.11.4.win32 and it seems to work just fine, however
the index creation phase of my app is perhaps 3x slower under 0.11.4 vs
0.10.9
Details follow:
System: windows xp sp2, index on local hard disk, Ruby 1.8.6
Run #1, Ferret 0.10.9
- Reboot
- Build index, 35,000 rows added in 297 seconds
-
Run #2, Ferret 0.11.4
-
2006 Jul 05
1
search speed eclipsed by retrieval speed
Hi all,
I''ve recently started working with Ferret and I''m getting what seems to
be slow searches. I have about 10000 documents in the index, with
several fields per document, with some fields having an array of several
values that are indexed.
I am using a RAMDirectory to store the index for searching. When doing
testing, I find that searches are reasonable at around .2 to
2007 Feb 27
15
Ferret 0.11.1-rc2
Hey guys,
Just released Ferret 0.11.1. Hopefully this will fix *most* of the
problems people were having. Now that I know gcc hides stack overflows
on Ubuntu because -fstack-protector is set, I won''t get caught by that
one again. Anyone know any other gotchas I should be aware of on
Ubuntu.
Please try the new version and let me know if you are still having
problems with it. I have until
2006 Jul 19
4
Ferret Indexing
Does ferret only index, when you create, or udpate a record?
Is there a way to make it index prexisting records?
Thanks.
--
Posted via http://www.ruby-forum.com/.
2005 Dec 09
1
Index returning ids that are one less than they should be
I''m saving records to an index like so:
index << {:id => id, :email => email, :contents => contents, :date => found_on}
In debugging my code, it appears that whatever I set a record''s id to,
when I find that record in a search, it returns the id minus 1, so if
the first record I store in my database has an id of one and I store
its counterpart in my index,
2006 Jun 16
2
indexing large tokens
Hi,
I''m using the StandardAnalyzer to build an index, and passing in Documents
that have Fields that contain large tokens (22+ characters) interpersed with
normal English words. This seems to cause the IndexWriter to slow to a
crawl. Is this a known issue, or am I doing something wrong?
If this is a known issue I don''t have any problem just not indexing tokens
longer than a
2006 Sep 13
1
Problem with index file permissions
I have a problem with file permissions and Ferret. In our production
enivroment the webserver runs as one user and the console (and cron
jobs) as another one. When Ferret creates a segment or file in the index
directory it''s created with only read/write-permissions for the owner,
which means that the other user can''t access the file.
How can I affect the permission on files
2006 Jun 02
1
Indexing fails -- _ntc6.tmp exceeds 2 gigabyte maximum
Ferret 0.9.3
Ruby 1.8.2
NOT storing file contents in the index.
Only indexing first 25k of each file.
Very large data set (1 million files, 350 Gb)
Code based on snippet from David Balmain''s forum posts.
After 6 hours, Ferret bails out with Ruby "exceeds max file size".
Cache:
-rw-r--r-- 1 bill bill 2147483647 2006-06-01 22:45 _ntc6.tmp
-rw-r--r-- 1 bill bill 1690862924
2007 Jun 12
5
index browser inconsistent with IndexReader
Hi,
We have an index of around 1M web pages as part of our web app. The
app uses ferret by way of RDig to perform searches. We have noticed
anecdotally that some searches don''t work the way we thought they
should, as if documents were missing from the index. Yesterday we
came upon a concrete instance of this.
Our documents have several fields, one of which is called :keywords
and
2006 Nov 02
3
Indexing and searching across multiple locales
Hi -
I''m currently investigating support for Ferret and content that spans
multiple locales. I am particularly interested in using stemming and fuzzy
searches (e.g. with slop factor) across multiple locales.
So far I''ve followed the online docs for implementing a Stemming Analyzer,
and it is working for English terms just fine. I''ve also written a method to
import data
2007 Jan 18
1
Updating index when non-rails app creates entries?
I have a database shared between a Rails app (gui) and a Java app
(daemon). When the java app periodically updates the database, this
isn''t reflected in Ferret indexes visible via acts_as_ferret in Rails.
How do I trigger re-indexing? Do I just make my Java daemon delete the
index files, or is there something cleverer than that..?
Thanks!
--
Posted via http://www.ruby-forum.com/.