Displaying 20 results from an estimated 2000 matches similar to: "Inconsistent results when using wild card queries"
2006 Sep 20
5
acts_as_ferret limit on multi_search not working?
I''m using acts_as_ferret to do a query like this:
Model1.multi_search("my query",[Model2,Model3], :limit => 2)
No matter what number i set limit to I get 10 items in the resultset. Am
I doing something wrong?
Thanks/David
--
Posted via http://www.ruby-forum.com/.
2007 Aug 24
7
can''t create new ticket
Hi there,
I can''t seem to find a way to create a new ticket.
I''d like to create tickets for those two reproduced bugs:
http://rubyforge.org/pipermail/ferret-talk/2007-June/003588.html
http://rubyforge.org/pipermail/ferret-talk/2007-June/003600.html
Can anybody please do it for me or point me in the right direction ?
TIA
--
2006 Oct 02
6
Strange Sorting Issues
Hi there,
I''m having some strange sorting stuff goign on. Here''s my search method:
sort_fields = []
sort_fields << Ferret::Search::SortField.new("name",
:reverse => :false)
@results = Listing.find_by_contents @search_criteria, :limit => :all,
:sort => sort_fields
page = (params[:page] ||= 1).to_i
items_per_page = 9
offset = (page - 1) *
2007 Jun 19
3
another issue with highlighting
Hi,
I''m encountering another highlighting issue.
(about the first one "range search and highlighting", i received no
response. I don''t even know if somebody tried to reproduce and/or if
it''s normal behavior)
about the new issue, an example will be easier for you to reproduce:
I''m filling an index with random data, i try to match for "*1*"
2007 Jun 07
5
Advise on slowness in bootstrapping?
I am looking at trying to use ferret/aaf to supplement my querying against a
medium and large table with lots of columns. Some facts first:
Ferret 0.11.4
AAF 0.4.0
Ruby 1.8.6
Rails 1.2.3
Medium table:
105,464 rows
168 columns (mostly varchar(20))
11 actual columns indexed in aaf plus
40 virtual columns indexed in aaf (virtual is concat of two physical columns.
e.g. cast_first_name_1 +
2007 Jun 17
1
highlighting and range queries
Hi there,
Is highlighting for range queries supposed to work ?
It doesn''t work here.
here is an non-working example: (highlighting works when q="test:2007*")
require ''ferret''
include Ferret
index = Index::Index.new()
#index.field_infos.add_field(:test, :store => :yes, :index => :untokenized)
i=1
for a in [ "20070505", "20071230",
2007 Jan 18
5
corrupt index immediately after rebuild
Hello,
I''m usin gferret and I''ve just attempted to build an index that contains
15,968,046 documents. I''ve rebuild the index from scratch, but when I
try to search for some items I get this error:
IOError: IO Error occured at <except.c>:79 in xraise
Error occured in fs_store.c:289 - fsi_seek_i
seeking pos -1284143798: <Invalid argument>
This is
2010 Sep 16
6
acts_as_solr plugin fate?
Just wanted to see if I was using the latest acts_as_solr plugin, but
the URL <http://acts_as_solr.railsfreaks.com/> takes me to a GoDaddy
domain parking page.
Anyone know what''s happened to railsfreaks, and more particularly
this plugin?
--
Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
twitter: @hassan
--
You received this
2011 Sep 09
2
acst_as_solr error
hi,
i am using https://github.com/mattmatt/acts_as_solr
it shows the following error
"undefined method ''each'' for "
for this
results = Employee.find_by_solr(@id)
results.each do |emp|
puts emp.id
end
where plugin does not contains "each" method in acts_as_solr/libs/
search_results.rb
so for me each is not working with ActsAsSolr::SearchResults
2011 Sep 08
8
acts_as_solr problem ActsAsSolr::SearchResults:
hi,
i am using acts_as_solr plugin when i tried with search
by
def search
puts "#####################"
# ids = params[:name]
@id = params[:query]
@emp = Employee.find_by_solr(@id)
puts "------------------------------#{@emp}"
respond_to do |format|
format.html{render :action => ''search''}
format.xml
end
2006 Sep 11
1
Using a datefilter with caching
I''m trying to use a DateFilter to speed up some searches. The situation
is that a have an index with 200 000+ documents and I want to run a few
thousand alerts (basically stored searches) on only a small portion of
the index (documents added the last hour).
Is datefilter the best solution for the situation described above?
I assumed that the datefilter would be cached in the same way
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 Nov 24
2
Strange error. Index corrupt on production server
We''ve been running Ferret for a few months on our site with great
result. But, just a monent ago the index suddenly became corrupt.
It all started with this error message:
:108250 is out of range [0..108183] for IndexWriter#[]
/usr/local/lib/ruby/gems/1.8/gems/ferret-0.10.9/lib/ferret/index.rb:382:in
`[]''
And after that every search resulted in this error:
A IOError
2008 Feb 06
1
RSpec 1.1.3 + ZenTest 3.9.1 + Rails 1.2.6 do NOT ignore folders ^vendor/*
Hi,
I just updated to the latest RSpec 1.1.3 + ZenTest 3.9.1.
I also have rspec 1.1.3 installed as a gem
When starting autotest with -v option, there is a lot of noise because
autotest does not ignore the vendor folder, the migrations, etc ...:
Dunno! vendor/plugins/acts_as_solr/solr/lib/jetty-util-6.1.3.jar
Dunno!
2001 Nov 28
17
problem of access with files accentuated
I need of helps for do backup of a server windows2000(english).
In the files accentuated, presents to following message:
ERRDOS - ERRbadfile (File not found.) opening remote file
\f\adm\Arquivos diversos e tempor rios\Tabela Master de Importaao.xls
(\f\adm\Arquivos diversos e temporarios\
They are more of 60 pages with this message.
When I rename the name of the file to without accent, it
2018 Mar 12
2
Accentuation in the user's CN
Hi folks,
I manage the AD with rsat and recently we had problems with the CN of some
users that have accentuation. When checking the user configuration via
samba-tool user edit <username> in the location where the CN should be
readable, a hexadecimal or something of that type appears.
E.g: Acentuação da Silva
dn: CN=Acentuação da Silva,OU=TESTE,DC=teste,DC=intra
objectClass: top
2012 Nov 05
25
[PATCH] IOMMU: don't disable bus mastering on faults for devices used by Xen or Dom0
Under the assumption that in these cases recurring faults aren''t a
security issue and it can be expected that the drivers there are going
to try to take care of the problem.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
--- a/xen/drivers/passthrough/amd/iommu_init.c
+++ b/xen/drivers/passthrough/amd/iommu_init.c
@@ -625,6 +625,18 @@ static void parse_event_log_entry(struct
2006 Mar 12
0
NameError when trying to combine Recipe 14 (rich HABTM) & Rec. 10 (self-ref HABTM):
Hi all,
I''m trying to model self-referential relations between people, where the
relation has attached data.
John ''works for'' Bob
Problem: '':through'' doesn''t work, and generates a NameError.
=> the models :
Person (attr: name)
Relation (attr: source_id, target_id)
(more details below)
ex: John ''works
2004 Aug 06
0
Parsing the icecast stats log
Hello All,
I wrote a PHP function to parse the icecast stats log and return as much information in a structured array as possible (well, as much as I care about, anyway). Because the stats log is not easily machine-parseable, I thought this might be useful to somebody. The log is parsed using Perl-compatible regexps, so it should easily port.
I have only my own setup to test this on, so
2006 Sep 27
1
RangeFilter performance
I''m using a RangeFilter to limit a search to only the most recently
added documents. My index is about 150 000 articles and the RangeFilter
typically selects about 1000 of them to run a batch of searches against.
The performance is great as long as my index is newly optimized. As soon
as add a few new documents the average search time for a batch of
searches using the rangefilter