similar to: How to make a live search

Displaying 20 results from an estimated 100000 matches similar to: "How to make a live search"

2018 Aug 09
0
Boosted fields search in Python
On 9 Aug 2018, at 10:09, Katja Abramova <katja.abramova at dimension.it> wrote: > I need to do a search for a > multi-word query in which particular fields are boosted - preferably at > query time. That is, given a query like "the cat is lying on the mat" (with > an OR operator, ignoring word positions but with stemming and stop words > removed), I'd like to
2006 Jul 21
3
Interface with Flickr
Does anyone know how to get going with the flickr api WITHOUT using the ''flickr.rb'' gem? I''m wanting to just use the REXML and ''net/http'' stuff. I''m just wondering how to send requests to the api and handle the response. Any tips would be great! Thanks! -- Posted via http://www.ruby-forum.com/.
2006 Mar 14
5
Dreamhost Database problems
I''m working on uploading my site to dreamhost. I just setup my production database, and gave it a host name. It said that it was successfully created. Now, it''s been like 25 minutes, and I still can''t connect to it. Is that normal? How can I get my tables created? Just wait it out? I''m trying to load it in the browser, and it says "server not
2006 Jan 16
1
ajax search
Hi everyone, I''m a bit new to rails, but I have played around with it for the last month. I really enjoy programming in rails and I feel that I should program my new application through this framework. I am very exited when I start creating my scaffolds and views, there is some sense of accomplishment. Now I would really like to make a search function my page that would search through
2006 Mar 29
7
Dreamhost upgraded 1.1 - app doesn''t work
Does anyone know how long it will be until Dreamhost get''s the Rails 1.1 install running correctly? My site has been down since last night at about 7:00 pm (I think). It''s annoying, and are a lot of others having this problem too? Thanks. -- Posted via http://www.ruby-forum.com/.
2006 Mar 04
4
How to redirect_to the same page after comment posting?
How can I have the page redirect_to the same page after someone posts a comment? I know that you can do "redirect_to :action => ''index''", but the page is located at this URL: /posts/2006/02/01/individual_post/ So, the action is "individual" which is in the "posts" controller, but there is a custom URL mapped for the URL shown above. How can
2006 Mar 05
2
RSS feed for blog entries...
Can someone guide me on the process of providing an RSS feed for my site? I''m not sure how to go about this. Thanks. -- Posted via http://www.ruby-forum.com/.
2013 Sep 22
2
How to filter search result with query with has white space.
Hello, include <iostream>#include <string>#include <xapian.h>struct document{ std::string title; std::string content; std::string url;}; void indexData(document d) { try { Xapian::WritableDatabase db("/Users/ramesh/Desktop/xapian", Xapian::DB_CREATE_OR_OPEN); Xapian::TermGenerator indexer; Xapian::Stem
2013 Sep 22
2
How to filter search result with query with has white space.
Hello, include <iostream>#include <string>#include <xapian.h>struct document{ std::string title; std::string content; std::string url;}; void indexData(document d) { try { Xapian::WritableDatabase db("/Users/ramesh/Desktop/xapian", Xapian::DB_CREATE_OR_OPEN); Xapian::TermGenerator indexer; Xapian::Stem
2006 Mar 17
1
RSS problem when trying to display ID - HELP
I want to append "#comment-1" or whatever, depending on the id to the end of my xml.link(" ... /#comment-1") attribute in my generated xml. Well, when I put: xml.link(" ... /#comment-" + comment.id) I get an Application error (rails) message when I look at the generated XML. This is what I''m doing without the id on the comments (its working fine):
2006 Mar 05
2
Sending an email when a comment is posted
When a user posts a comment on my site, is there a way for me to be notified via email? I know this is pretty easy in php, i.e. mail() function, but I''m looking for the equivalent in Rails. Thanks! -- Posted via http://www.ruby-forum.com/.
2011 Jan 14
0
[Rail3] How to construct full-text search for habtm associations
hi all, i''m new to this group and currently using Rails 3.0.3 and meta_where 0.9.10. i''m considering how to make a full-text searching feature to my project, and my models, for example, should be defined like below: class Group < ActiveRecord::Base has_and_belongs_to_many :users # :title (string) end class Comment < ActiveRecord::Base has_and_belongs_to_many :users
2014 Jan 27
4
Perl Search::Xapian
Hi, Trying to learn Search::Xapian and be better at perl at the same time, I'm stuck, at the DB_CREATE_OR_OPEN error. Perl says this: ~/dev/sandbox/Xapian-perl$ ./Index1-Xap.pl 100-objects-v1.csv db "db" is not exported by the Search::Xapian module Can't continue after import errors at ./Index1-Xap.pl line 7. BEGIN failed--compilation aborted at ./Index1-Xap.pl line 7. What I
2011 Jul 27
3
Searching using prefixes
Hi guys I'm trying to figure out how I can use probabilistic searching on a given field within a document; I've written to the list about this before, but haven't quite figured out what's required and, following a little research, I think I understand what I need to do but I'd like a clarification on this. o We have a database of a number of documents, with fields: title,
2006 Mar 09
1
Missing fields in search result
Hello ferret users, I have a problem with ferret dropping stored fields in the index. Not all fields I want to store get stored, so they can be searched, but can''t be retrieved in a search. Index creation: INDEX = Index::Index.new(:path => ''/home/gregor/wisa/index'', :analyzer => Analysis::WhiteSpaceAnalyzer.new) SR =
2018 Aug 09
2
Boosted fields search in Python
Hi, I'm using Xapian in Python2. I'm trying to replicate an analysis that somebody else performed in Lucene. To do that I need to do a search for a multi-word query in which particular fields are boosted - preferably at query time. That is, given a query like "the cat is lying on the mat" (with an OR operator, ignoring word positions but with stemming and stop words removed),
2006 Oct 31
3
No search results using Searcher
I just started using Ferret and I successfully indexed some documents. I can search this index using the following code: index = Index::Index.new(:path => path) index.search_each("something") do |doc, score| print "##{doc} #{index[doc][''url'']} - #{score}" print "\n" end However, when I try to use Search::Searcher and QueryParser
2006 Jul 20
2
search on fields
Hi, I wonder if it is possible to perform the "find_by_contents" on a subset of fields indexed in acts_as_ferret.If so, how? In my code I have: acts_as_ferret (:fields => [''title'', ''focus'', ''purpose'']) However, I like to have two search options one on all fields and one only on the title. Any help is most appreciated.
2006 Mar 18
0
Live Search problems - HELP
I''m trying to make a live search for my site. Nothing is working, and I''m getting a javascript error that says "Form is not defined", but I don''t think that''s my only problem. This is my view: <%= form_remote_tag( :url => {:controller => ''inventory'', :action => ''search''}, :update =>
2008 Jan 04
0
Records not in search results until I recreate record index
our object A has three properties title - a straight db field, open_for_search - a method which returns yes or no site_search - which is a list of codes based on a has_many relationship so our api accepts a title and a list of sites creates object A with object = Object.new object.title = thetitle sites = Site.find_all_by_whatever([whatever]) object.save object.sites << sites Then