similar to: oddness when adding to index -

Displaying 20 results from an estimated 300 matches similar to: "oddness when adding to index -"

2007 May 03
1
Numeric Range or comparision doesn''t work
Hi, it looks like Ferret still compares numeric fields by lexical ordering, not numerical ordering. I am using Ferret 0.11.4(I tried in both linux and windows, the results are the same). index = Ferret::Index::Index.new() docs = [ {:num => 1, :data => "yes"}, {:num => 1, :data => "no"}, {:num => 10, :data => "yes"}, {:num => 10, :data
2008 Jan 09
5
Parallel indexing doesn''t work?
Hi, I''m trying to get parallelized ferret indexing working for my AAF indices, based on the example in the O''Reilly Ferret shortcut. However, the resulting indices after merging seem to have no actual documents. I went and made minimal changes to the example in the Ferret shortcut pdf, and indeed can''t get that to work either. I''d appreciate any help
2006 Sep 23
8
svn problems
I can consistently segfault the 0.10.4 gem, so I''m trying to get the subversion version working with hopes towards tracking the problem down. I have a fresh SVN checkout but: a) the version (in ferret.rb) claims to be 0.9.6; and b) Ferret::Index::FieldInfos and a couple other classes are missing at run time. It looks like this is because they''re not exported in the C
2007 Jan 23
2
Exact phrase score
Sorry if this has been beaten to death here but I couldn''t find the exact answer I was looking for. In the app I''m writing, we convert the score to a percentage and display it with the search results. The problem is when you search for an exact phrase (for example) and it matches the title of a document exactly, you only get a 17% match. Has anyone seen a way to either curve
2006 Sep 23
0
TermQuery problem
Hi, Using the 0.10.4 gem under ruby 1.8.5 (2006-08-25) [i686-linux], I get different results with a TermQuery and a search string. Namely, using a search string seems to always work whereas using a TermQuery often doesn''t return any entries. For example: > x=@i[450][:message_id] => "9e7db9110509070759732b21c4 at mail.gmail.com" >
2006 Oct 09
2
hello, acts_as_ferret questions, any help greatly appreciate
hi, ive been reading up on ferret, acts_as_ferret, and other search plugins for rails. after reading about ferret, i found out about the acts_as_ferrt plugin. my first question about acts_as_ferret: 1. from reading about ferret, do i still need to manually save the IDX and add a IDX column field to my model table for acts_as_ferret to work? they say that acts_as_ferret handles everything,
2003 Jul 22
1
Making a group membership matrix
Hi Helpers: I have a factor object that has 314k entries of 39 land cover types. (This object can be coerced to characters neatly should that be easier to work with.) > length(foo) [1] 314482 > foo[1:10] [1] Montane Chaparral Barren Red Fir Red Fir [5] Red Fir Red Fir Red Fir Red Fir [9] Red Fir Red Fir 39 Levels:
2006 Sep 06
9
Which analyzer to use
Lucene''s standard analyzer splits words separater with underscores. Ferret doesn''t do this. For example, if I create an index with only document ''test_case'' and search for ''case'' it doesn''t find anything. Lucene on the other hand finds it. The same story goes for words separated by colons. Which analyzer should I use to emulate
2006 Aug 28
1
stop words and /''s
Hi new version of ferret and acts as ferret have sorted out the scary glibc *** linked list pointer errors, thank god! New version are good but some searches are still not working. It is mostly the stop words ones. For example the "For Sale/Free/Swap" fails but works when "for" is stripped out. I have read all the recent posts regarding this issue and failed to get it to
2007 Mar 04
2
Need clarification of documentation
Hi, I have question about the delete() method docs. I am re-indexing data on the fly so I would like to delete any existing indexed data for a particular resource before re-indexing it using index.delete(id). The delete() method api doc says: "Delete the document referenced by the document number id if id is an integer or all of the documents which have the term id if id is a term.. id:
2007 Apr 06
4
Newbie having full text search problem with acts_as_ferret
Hi guys, I am using acts_as_ferret to do full text search on my models and I am having problem on three-letter word searches. I am going to use an example to explain my problem. Here it is: There is a table called users and it has login, first_name, last_name columns. There are three rows inside it. login first_name last_name bob bob henry longbob nil
2010 Oct 09
1
A competition to create a recommendation engine for R packages
Hello everyone. There is a new competition, outlined on the blog dataists<http://www.dataists.com/2010/10/using-data-tools-to-find-data-tools-the-yo-dawg-of-data-hacking/>, inviting us to analyse statistics of the use of R packages (collected from 52 R users), to create a R-package suggestion engine for ourselves. Since I noticed several bloggers already wrote about it (as I have detailed
2006 Jan 02
11
aligning Ferret''s IndexSearcher.search API with Lucene''s
Recently I''ve been revisiting some of my search code. With a greater understanding of how Java Lucene implements its search methods, I realized that one level of abstraction is not present in the Ferret classes/methods. Here are the relevant method signatures: Ferret''s search methods: in Ferret::Index::Index: search(query, options = {}) -> returns a TopDocs
2006 Oct 11
0
Memory allocation bug with index.search
Hi Dave ( again ! ) I''ve been searching for a while into my extension code to understand what was the matter, and Florent Solt who hasn''t got my extension has the same problem, so it figured to be a ferret problem.. Unfortunately, we''re unable at the moment to reproduce it in a little code so you could debug easilier... I''m working on it. Heres the issue :
2006 Apr 08
4
Calling validates_inclusion_of out of default namespace
Hi, I''m trying to run the "validates_inclusion_of" method in a before_save hook, because the range is dependant on the related data. But I can''t figure out how to call it. When calling it normally, it says it can''t find it. I''ve tried several combinations like "ActiveRecord::Validations.validates_inclusion_of", but I can''t seem to
2006 Aug 30
7
Hyphens
Hi there, I''m working with some legacy data where customer phone numbers are stored with hyphens between the area code, exchange, and number (e.g. 555-555-5555). Is this the best way to store a phone number? Perhaps not, but it''s the way they were being stored, so I have to work with this format. Right, so when I save a record the log tells me acts_as_ferret indexed the
2010 Oct 21
2
missing dependency for package
Hello everyone, I know this isn't strictly CentOS query, but I am hoping that someone here with more experience than myself might have some thoughts. I am trying to get a plugin working for Ganglia on a CentOS 5.5 box, in a testing environment. The plugin is for apache monitoring, called Ganglia-Logtailer. This plugin requires the executable /usr/bin/logtail in order to work. The only
2007 Apr 28
6
Determine how many documents a term occurs in
Is there a fast way to determine how many documents a term occurs in, besides iterating through every document with TermDocEnum? -- Best regards, Stian Gryt?yr
2015 Sep 28
3
Respond to an out of call SIP MESSAGE
Sorry for the delay here. For some reason the mail from Joshua Colp failed to deliver to my mailbox. So, anyway, I've set up a local scenario on my computer a PJSIP client and Asterisk 11.17.1 (On a fedora linux workstation) with the settings listed below. In this scenario I've used UDP, but I want a configuration that can be used with any transport protocol. I can see that the context
2006 Oct 10
4
Need help for coding an extension to ferret
Hi, i''m working on a project using Ferret for indexing it''s datas. I''m very happy with it but i need to code an extension to implement a .to_json method to TopDocs class, because ruby''s json implementation is really really slow... It''s my second (the first was the tutorial :/ ) ruby C extension, so i''m not really at ease with ruby C