similar to: search on fields

Displaying 20 results from an estimated 3000 matches similar to: "search on fields"

2006 Apr 01
5
Triple relationship
Hi list, I need to represent a relationship between three tables: Tags (id, name) Users (id, name, email, ... ) Documents (id, title, ... ) I created a forth table called Assignments(id, tag-id, user-id, document-id, date). I have couple of questions: Should I use belongs-to and has-many to capture this? If so, How can I do that? should I have the id as the primary key in Assignment table or
2006 Sep 05
15
ferret finds ''tests'' but not ''test''
Hello all, Quick question (possibly!) - I''ve got a few records indexed and doing a search for ''test'' reports in no hits even though I know the word ''tests'' exists in the indexed field. Doing a search for ''tests'' produces a result. I would have thought that ''test'' would match ''tests'' but no such
2007 Sep 24
2
ferret fuzzy matches
Hi guys, Is there some way of getting ferret matches string, when i do a fuzzy search? The scenario is this: 1. The user search for ''show'' 2. Nothing was found 3. So I do a fuzzy search, passing ''show~'' 4. It gives me somes results, most of all was matched with ''showcase'' 5. So I want to tell the user that: Nothing was found with
2007 Feb 04
10
[AAF] remote indexing via DRb with acts_as_ferret
Hi! Aaf trunk has undergone several major refactorings the last days, with the result that you can now transparently switch your app from local to remote indexing and back :-) If you plan to scale your app to more than one physical machine, or if you have problems with corrupted indexes and the like under high load, you really should give this a try. I wrote some documentation to get you
2018 May 22
4
Pasar palabras de una lista a una variable del dataframe
Buenas tardes, Tengo una lista de 600 palabras. Quiero saber cuántas de esas palabras aparecen en cada observación de mi variable "texto". La variable "texto" es de tipo caracter. ¿Cómo lo haríais? Muchas gracias.
2018 May 23
2
Pasar palabras de una lista a una variable del dataframe
Muchas gracias Carlos, Me da error al hacerlo. Mi variable donde quiero que localice las palabras de la lista tiene más de una palabra, no se si puede ser por eso. Gracias El Mar, 22 de Mayo de 2018, 20:15, Carlos Ortega escribió: > Hola, > > Aquí tienes un ejemplo (reproducible)... > > #----------------------- >> # Generar nombres de mujer >> library(randNames)
2008 Jun 17
1
Plot point patterns
Hello! I want to plot a multitype point pattern called "new" in package spatstat. When I write plot(new) in the graphic window I can see a strech rectangle with a point inside, not the point pattern.If I write plot(new$x,new$y) the point pattern is plot ok.The problem is that I want do the density plots, quadrat count, etc and in these cases I can?t write density(new$x,new$y), I
2007 Apr 30
1
Can''t search fields with space
Hi, I have a user model that has a city field which is searchable using acts_as_ferret. But I can''t get it to return any result whether I use :city => {:store => :no, :index => :untokenized}, or :city => {:store => :no} in my User model''s acts_as_ferret option >>> User.find_by_contents("city:(cal poly)") =>
2007 Aug 23
4
index all but search in some fields
Hi, i like to index most of my model fields, but limit the search only to a (changing) subset of this fields. -- Posted via http://www.ruby-forum.com/.
2007 May 05
4
Stop words, fields, StandardAnalyzer quagmire
Hello, I''m using: Ruby 1.8.6, Rails 1.2.3, ferret 0.11.4, acts_as_ferret from svn stable. I''ve had quite a day wrestling with trying to remove the use of stopwords. The problem was that when searching for words like "no" or "the", no results were found. I found a confusing thing behavior that has taken me some time to figure out, and I hope sharing it
2006 Oct 10
3
Dynamic fields and inheritance
I have a model that allows subclasses to dynamically define fields. The following code is a short test case that illustrates the problem I''m having: class Product < ActiveRecord::Base acts_as_ferret :fields => [:name] serialize :data def self.data_properties (*properties) properties.each do |property| define_method(property) {self.get_property(property)}
2007 May 23
2
issues with searching custom fields
Hey all, I''m using acts_as_ferret this way: class Job < ActiveRecord::Base acts_as_ferret :fields => [:title, :workers_name] def workers_name return self.workers.inject("") {|names,b| names + " " + b.first_name}.to_s end end But when I do Job.find_by_contents("workers_name:patrick") I get nil. Yet when I do: j=Job.find :first j.workers_name I do
2007 Apr 29
1
Voicemail Creation
HI All; I want to use Asterisk for just Voicemail Server and I need a Dynamic creation of Mailboxes. My users 's Mailboxes are same as "Extensions" but I donot want to add mailboxes in "Voicemail.conf" Is there any way to create mailbox from Asterisk dial-plan ? Appreciate any suggestions Mohammad Mirzaee -------------- next part -------------- An HTML attachment was
2008 May 18
1
Bridging a call on hold with an active call
Dear All I want to use asterisk for the following Senario and Need help to find a SAMPLE extension.conf Incoming call >>>>>>>>>>>Asterisk >>>>>>>>>>>>>>GSM Termination Gw first leg second leg What I want to do is putting first call leg on
2005 May 23
16
Success - Rails, FastCGI, and IIS / Windows Server
About 17:00 localtime I managed to get fastcgi, Rails and IIS all happy together. Upon success I ripped off my clothes and ran through the village yelling "The future is now!". A PDP-11 geezer stuck his head out a window and said "The future isn''t what it used to be and keep yer shirt on". Modifications were required to dispatch.fcgi and request.rb. The following
2009 Jul 08
1
php error parse_query
I'm having trouble getting a search via php working, I get the following error: *Fatal error*: No matching function for overloaded 'QueryParser_parse_query' in */usr/local/share/php5/xapian.php* on line *1409 *The error occurs at this code $query = $qp->parse_query( $query_string , XapianQueryParser::FLAG_PHRASE |
2007 May 16
7
bilingual site: exclude fields set from query
Hi all, Is there a way to have searches no use some indexed fields, when processing a query? context: I have a model Foo that holds some information in two languages : - text1_nl, text2_nl, text3_nl and - text1_en, text2_en, text3_en Some other fields are common to both languages and indexed as well - first_name, last_name Depending on the visitor language choice I need to exclude the
2007 Mar 23
4
how to select only some fields?
hi, how can i select only some fields when ferret do the query? like a :select => ''id'', for the find....i''ve tried to do it where i do the :include => [:something], but it doesn''t work...is it right or i''ve to put it in another place? -- Posted via http://www.ruby-forum.com/.
2006 Dec 21
4
Stubbing Kernel#open
Anyone know how to stub Kernel#open? I''m trying to mock/stub an open-uri call, but it doesn''t seem to like it. Here''s the test code, and the failures: body = File.open(File.dirname(__FILE__) + ''/../fixtures/google_search_california.html'').read
2004 Jul 19
2
callparking vs calltransfer
HI ALL; Anybody can explain the difference between "call parking " vs "call transfer" Regards mohammad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040720/2975991b/attachment.htm