Displaying 12 results from an estimated 12 matches for "acts_as_xapian".
2009 Feb 02
5
[Cucumber] Cucumber and acts_as_xapian
Hey list,
Anyone have experience with acts_as_xapian and Cucumber? I''m
struggling 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|...
2008 Feb 15
2
acts_as_xapian?
Anybody using Xapian with Ruby on Rails?
If so, I'd like:
a) Any advice on the state of the Ruby bindings.
b) Even a skeletal version of acts_as_xapian - I'd be happy to help
flesh it out, and test it.
Francis
2008 Nov 19
1
ruby xapian bindings and windows
Hi,
I've compiled xapian 1.0.9 (core and buildings) on Windows Xp, using
Lemur's nmake files[1].
I'm trying to use acts_as_xapian [2] on RubyOnRails, but I'm facing a
problem with the rebuild index process.
in acts_as_xapian, to rebuild the index, a new
Xapian::WritableDatabase is created with a different path, then
flush() is invoked; lastly, the new path is renamed to the old one.
At this point, the operation fails on...
2009 Oct 29
0
Serach with Xapian
hey ,
am looking for xapian syntax to do a range search
in my code i have
class Table < AR
acts_as_xapian :texts => [:title],
:values => [[ :left, 0, "left", :number
],[ :right, 1, "right", :number ] ],
:terms => [ [: left, ''L'',
"left"],[:right, ''R'', "right"...
2008 Aug 21
1
wildcards and prefix searches
Hey all,
I'm using Xapian through acts_as_xapian and would like to know why
trailing wildcards do not work on prefix searches.
Specifically, I have a Merchant model with a Description field, mapped
to the prefix "desc".
If I then search for "desc:goods" I get 4 matches, but if I search for
"desc:goo*" I get 0...
2009 Jan 21
1
Xapian Ruby bindings as a Ruby Gem
...packaging the Xapian Ruby bindings as a gem for
easier installation and integration into Ruby projects.
I came to this idea, because many Ruby developers face the problem of
installing xapian under hosting service where they have no root rights. And
Xapian is THE essential part of the Rails plugin acts_as_xapian, wich brings
all the Xapian features to the Rails world. This plugin is maintained by me,
Francis the creator has stopped development due to the lack of time.
Could you please tell me who is the maintainer of the Xapian Ruby bindings?
Is there such a project already?
Is someone interested in worki...
2007 Jul 04
6
Inconsistent results when using wild card queries
We get some unexpected results when using wild card queries. We''re using
aaf and Ferret 0.11.4
For exampel, when seraching on a part of a collegues name (kristofer)
and limiting it to a specific source_id:
Query: source_id:25 AND kri*
Result: 2 documents. None of them containg the word kristofer, but other
matching words, as "kring" and "kring?" (swedish)
Query:
2009 Jul 24
1
permit many-to-many vms / networks relationship redux
redux patchset permitting a vm to be associated with
multiple networks and vice-versa. updated patchset so
as to be applicable against current oVirt server HEAD
these patches may be applied in any order, they all
need to be pushed together
2009 Jul 09
2
permit many-to-many vms / networks relationship
This patchset contains changes to the ovirt server
frontend, backend, and tests components, permitting vms
to be associated with multiple networks and vice versa.
Also included are two patches which are required for the frontend
bits; a patch adding collapsable sections to the vm form, which
in itself depends on the second patch that provides default values
for the cpu and memory vm table fields
2009 Jul 13
0
[PATCH server] remove vm forward vnc and vm host history
...on of vm history
- # each collection item contains vm that was running on host
- # time started, and time ended (see VmHostHistory)
- has_many :vm_host_histories,
- :order => 'time_started DESC',
- :dependent => :destroy
-
- alias history vm_host_histories
-
acts_as_xapian :texts => [ :hostname, :uuid, :hypervisor_type, :arch ],
:values => [ [ :created_at, 0, "created_at", :date ],
[ :updated_at, 1, "updated_at", :date ] ],
diff --git a/src/app/models/vm.rb b/src/app/models/vm.rb
index 6d0f864...
2009 Jun 30
0
[PATCH server] permit many-to-many vms / networks relationship
...d, :vm_resource_pool_id
+
validates_format_of :uuid,
:with => %r([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})
@@ -88,7 +88,7 @@ class Vm < ActiveRecord::Base
:greater_than_or_equal_to => 0,
:unless => Proc.new{ |vm| vm.memory_allocated.nil? }
- acts_as_xapian :texts => [ :uuid, :description, :vnic_mac_addr, :state ],
+ acts_as_xapian :texts => [ :uuid, :description, :state ],
:terms => [ [ :search_users, 'U', "search_users" ] ],
:eager_load => :smart_pools
@@ -111,8 +111,8 @@ class Vm...
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...files not needed for the installation
%{__rm} -f %{buildroot}%{app_root}/task-omatic/.gitignore
+%{__rm} -f %{buildroot}%{app_root}/vendor/plugins/will_paginate/.gitignore
+%{__rm} -f %{buildroot}%{app_root}/vendor/plugins/will_paginate/.manifest
+%{__rm} -f %{buildroot}%{app_root}/vendor/plugins/acts_as_xapian/.gitignore
%{__cp} -a %{pbuild}/scripts/ovirt-add-host %{buildroot}%{_bindir}
%{__cp} -a %{pbuild}/scripts/ovirt-vm2node %{buildroot}%{_bindir}
@@ -157,11 +169,12 @@ for f in anyterm/*.{html,css,js,png,gif}; do
done
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%pre
-/usr/sbin/grou...