Displaying 20 results from an estimated 500 matches similar to: "Missing fields in search result"
2005 Nov 26
3
Several questions about Ferret.
Hi.
First of all I would like to say "thank you" to David for its really
valuable work. Ferret is a great project and it have great future.
Well now is my questions as beginner in Ferret.
How to remove ALL documents from index. Remove files is not a solution. I am
interesting in something like
index.remove_index or something like this. What is a usual way of doing it??
What is the
2006 Sep 25
0
Odd indexing issue
Hey Dave,
I just contributed $100 to the ferret donation box. My project is 
earning no money yet (but hopefully will), for now I hope this helps you 
out and covers me for asking stupid questions ;).
To get a distance sorted output, I am passing an array of the id field 
from a ferret search through to mysql in a custom select statement.
SELECT ... id IN (#{ids.join(",")})
This has
2007 Jan 01
2
Possible Bug when Creating Indexes
I''m running:
ferret (0.10.9)
ruby 1.8.5 (2006-08-25) [i386-mswin32]
on Windows XP(SP2)
When I create an index as follows:
field_infos = FieldInfos.new(:store => :yes, :term_vector => :no, :index
=> :yes)
field_infos.add_field(:id, :index => :untokenized)
field_infos.add_field(:subject)
field_infos.add_field(:author)
field_infos.add_field(:tags, :store => :no)
index =
2006 Jan 20
4
Questions about Searching
Hi,
I have some questions about searching with Ferret.  I have a user
index with first_name, last_name and full_name (which is just first
plus last with a space).
Here are a couple of questions:
1) If I store the fields tokenized, it appears as though queries are
case-insensitive.  However, for untokenized, the query is
case-sensitive.  How can I make the untokenized searches
case-insensitive?
2006 Mar 08
1
indexing a document object fails
Hi,
I''m trying out the example (more or less) straight from the tutorial:
    doc = Document.new
    doc << Field.new("id",    "a",    Field::Store::NO, 
Field::Index::UNTOKENIZED)
    doc << Field.new("title", "b", Field::Store::YES, Field::Index::UNTOKENIZED)
    doc << Field.new("data",  "c", 
2006 Sep 22
2
Searching untokenized fields
Hi ..
I tried to exclude certain objects from my search, by adding appropriate
term queries ..
i = Ferret::Index::Index.new
i.field_infos.add_field(:type, :index => :untokenized, :term_vector => :no)
i << {:type => "Movie", :name => "Indiana" }
i << {:type => "Movie", :name => "Forrest" }
i << {:type =>
2006 Sep 24
0
Ferret 0.10.7 released
Hey guys,
I''ve just released Ferret 0.10.7. It is still in beta but we are
getting closer and closer to a 1.0 release. The main changes in this
release are better handling of fields by the QueryParser. You can now
give the QueryParser a list of fields that are tokenized so that only
those fields will be analyzed in the QueryParser. This means that you
can search untokenized fields for
2005 Dec 21
0
Ferret and Rails transaction
Hi,
following the discussion about acts_as_ferret on the Rails mailinglist,
there was an issue about transactions, which could result in beind the
database and ferret out of sync. I have taken a different approach from
acts_as_ferret trying to resolve the transaction problem. Instead of adding
things to the ferret index in the model, I have added it in the controller.
I have only the create part
2006 Aug 29
7
uninitialized constant UNTOKENIZED
I''m getting "uninitialized constant UNTOKENIZED" when I try to do
something like the following:
class Url < ActiveRecord::Base
acts_as_ferret :fields => {''name'' => {},
            ''description'' => {},
            ''url'' => {:index =>
Ferret::Document::Field::Index::UNTOKENIZED},
           
2007 Mar 28
1
Questions on tokenized x untokenized and date sorting
Gents, does this definition will allow me to search inside title,
sub_title and url and sort by score, rank_sort, last_updated_at_sort ?
  acts_as_ferret  :fields => { :title => {:boost => 2, :store => :yes},
                              :sub_title => {:store => :yes},
                              :url => {:store => :yes},
                              :rank_sort =>
2005 Dec 19
17
Indexing so slow......
I am indexing over 10,000 rows of data, it is very slow when it is
indexing the 100,1000,10000 row, and now it is over 1 hour passed on
the row 10,000.
how to make it faster?
here is my code:
==================
doc = Document.new
		doc << Field.new("id",    	t.id,    							Field::Store::YES, 
Field::Index::UNTOKENIZED)
		doc << Field.new("title", 	t.title, 						
2006 Oct 02
4
Another web app using Ferret
I am apart of a team that runs a student site called Studicious 
(http://stu.dicio.us). We have been using Ferret from the beginning, and 
recently added acts_as_ferret and sorting to the system.
As you can see if you try the search, sorting is not working as 
expected. I am using this code (w/ find_by_content):
:sort => Ferret::Search::SortField.new(:school_sort, :reverse => false)
2006 Jan 05
2
ActiveRecord callbacks not happening
Hi,
I have a model class like so:
class Candidate < ActiveRecord::Base
  validates_presence_of :name
  @@index = FerretConfig::INDEX
     
  def self.after_destroy
    puts "Ferret: after_destroy called"
    @@index.query_delete("+id:#{self.id} +ferret_class:#{self.class.name}")
    optimize_index
  end
end
But when I delete a record, the after_destroy is never called.
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 May 18
3
issues with : in the content
Hi,
I''ve discovered ferret and aaf this evening, I''ve just done some tests
and it seems perfect for my needs.
I''m indexing text data (title, description, etc) and also ethernet
hardware addresses (MAC).
Sorry if that sounds trivial but I can''t find the way to correctly
index and achieve correct searches on MAC addresses.
If I do something like this:
index =
2005 Dec 14
5
Query question
I have an index in which I want different records to be accessible to
different users.  I think I can do this by adding a "users" field to
each record in the index and narrow down my queries to only those
records matching the current user''s userid.  I have the userids
separated by commas.  What would be the right way to query for a
certain user?  I have to make sure that I
2017 Apr 02
0
Call for papers - CISTI'2017 Workshops, Lisbon, Portugal - Deadline: April 15
Papers submitted to the main conference: 508
Workshops deadline: April 15, 2017
Submission to the workshops: https://easychair.org/conferences/?conf=cistiworkshops2017
------------------------------------------------------------------
                   Workshops of CISTI'2017
12th Iberian Conference on Information Systems and Technologies
    21th and 24th of June 2017, ISCTE-IUL, Lisbon,
2017 Apr 02
0
Call for papers - CISTI'2017 Workshops, Lisbon, Portugal - Deadline: April 15
Papers submitted to the main conference: 508
Workshops deadline: April 15, 2017
Submission to the workshops: https://easychair.org/conferences/?conf=cistiworkshops2017
------------------------------------------------------------------
                   Workshops of CISTI'2017
12th Iberian Conference on Information Systems and Technologies
    21th and 24th of June 2017, ISCTE-IUL, Lisbon,
2007 Jul 13
8
More sorting problems with untokenized index
I''m having problems sorting on untokenized fields. I have one field that
sorts fine, but there are others that seem to sort on a different field.
Here''s the index description:
  acts_as_ferret
:remote=>true,:fields=>{:name=>{:boost=>2},:name_for_sort=>{:index =>
:untokenized},
    :city=>{:boost=>2}, :city_for_sort=>{:index=>:untokenized},
   
2006 Dec 11
1
exact searches
Is there a way to search a ferret index and have it only display exact
matches?
I read in other posts that you should have an untokenized field for the
exact matches, but I also use the same field for doing unexact matches
too (with the stemming analyzer).  Would I need a copy of this field in
the index untokenized to do an exact match or is there any sort of flag
or something I could pass to