similar to: Best Practices for Searching Multiple Indexes -- multi reader or combine?

Displaying 20 results from an estimated 20000 matches similar to: "Best Practices for Searching Multiple Indexes -- multi reader or combine?"

2006 May 05
1
Is there any working way to search multiple indexes?
I''m running from the trunk, and hitting road blocks no matter which way I attempt to search across multiple indexes. I tried a MultiSearcher, but I can''t pass a string for the search query ms.search "iraq" TypeError: wrong argument type String (expected Data) So I tried creating a QueryParser to pass, but I can''t get the fields from the reader
2007 Dec 19
3
multi-model search best practices
Hi folks. If I am indexing ModelA and ModelB and I want to search both of them, I usually just pick one arbitrarily and use it for #multi_search. Is there a slicker pattern, regarding from which model to invoke #multi_search? Can it be invoked directly from the Ferret library? Has anyone put together some sort of "dummy" search class? Thanks for any ideas. John
2006 Aug 21
6
multiple-index searching with merged results
Hey.. i am just browsing through the lucene features and i''m wondering if this feature is available in ferret as well .. # multiple-index searching with merged results this would be nice, as i''m thinking about several indexes, as i am using a lot of wildcard queries for livesearches like google suggest. i think the performance would increase, if i split my rather big index in
2006 Aug 28
12
Help with Multiple Readers, 1 Writer scenario
Hi, I''m building a web server application using Ferret [thanks so much Dave], Mongrel and Camping which works fine servicing one request at a time, but serialises searches if more than one request arrives, so I''d like some advice please about the best way to use multiple readers and one writer. Some background ... query requests which in my case are always read only, arrive via
2006 Aug 23
2
Reworking the Index Constructor
Hey .. I was thinking about the way I need to use the Ferret::Index::Index Class and its subclasses .. i find it somehow complex .. I think this can be done more easily .. Most of the Time a user needs to open up a index to do queries, the best way would be to use a IndexReader afaik. I would suggest to do it that way: index = Ferret::Index::Index.new( :path =>
2010 Oct 22
0
Best practices to edit multi-versions config files ?
Hi, When upgrading-downgrading from one asterisk version to another, you may need to edit config files. For instance, when upgrading sip.conf from 1.4 to 1.8, it is tempting to use a single common file and add some #ifdef-like statements in it so that 1.8-specific statements are not mixed with 1.4 statements. What are the best practices and tools for this ? Regards -------------- next part
2006 Feb 10
3
robots.txt best practices
I''d been ignoring this error message in my log for a while: ActionController::RoutingError (Recognition failed for "/robots.txt"): I had never touched robots.txt. So I decided to make it a proper robots.txtfile I found this great article... http://www.ilovejackdaniels.com/seo/robots-txt-file/ ...where Dave explains the ins and outs of the file. Before I changed mine, I
2006 Feb 28
2
Most Popular Searches
Hi, I have an index where each document contains an untokenized ''url'' field. I would like to query the index for the most popular urls. In SQL I would do this via a Group By clause. Is there anything in Ferret that will do something similar? I found this discussion that proposed a solution involving TermEnums:
2010 Apr 16
2
best practices - combining sql database and xapian, size of database?
Newbie-alert: I'm just getting started on a new project involving a full text search requirement, and my initial investigation points to xapian being the way to go. Two questions: - eventually I'll most likely be indexing towards 50 million documents - is this reasonable to expect or attempt with xapian? - each of my documents come with a set of attributes. These are easily stored
2007 Apr 14
3
Error on optimize leads to corrupt index?
The following exception occurred while trying optimize a large index: vendor/gems/rdig-0.3.4/lib/rdig/index.rb:46:in `optimize'': End-of- File Error occured at <except.c>:93 in xraise (EOFError) Error occured in store.c:216 - is_refill current pos = 0, file length = 0 Now, I get the following error any time I try to create a new index on the directory that I was trying
2006 Sep 12
1
options hash ignored when searching multiple readers
Hi, I''m working on an aaf bug report that led me to what I think is a bug in Ferret itself. The snippet at http://pastie.caboo.se/12950 shows the problem, the last two lines should imho only return one result, because of :offset => 1 or :limit => 1, but both return all (that is, 2) results (Ferret 0.10.4). Cheers, Jens -- webit! Gesellschaft f?r neue Medien mbH
2017 Feb 13
0
[RFC][cifs-utils PATCH] cifs.upcall: allow scraping of KRB5CCNAME out of initiating task's /proc/<pid>/environ file
On Mon, 2017-02-13 at 05:02 -0500, Simo Sorce wrote: > On Sat, 2017-02-11 at 10:16 -0500, Jeff Layton wrote: > > On Sat, 2017-02-11 at 08:41 -0500, Jeff Layton wrote: > > > Chad reported that he was seeing a regression in cifs-utils-6.6. > > > Prior > > > to that, cifs.upcall was able to find credcaches in non-default > > > FILE: > > >
2006 May 22
2
How to execute time consuming code
Hello all, I have a screen scraping application (go to a lots of sites, extract 10k stuff, integrate the results, put them to DB etc). Now i want to use a Rails application as a frontend to this: The user can push a button which triggers the screen scraping app and view the results (preferably asynchronously, but that does not really matter right now). Questions: - Should the screen scraping app
2007 Aug 18
0
Problem with multi-search
Hi all, I have indexes on 2 models e.g Message model acts_as_ferret(:store_class_name => true, :fields =>{:message => {:store => :compressed}, :felix_user_id => {:index =>:untokenized_omit_norms,:store => :no}) and the chat model acts_as_ferret(:store_class_name => true, :fields => {:name => {:store =>
2007 Apr 20
1
Mongrel cluster log rotation best practices
OK, maybe not even best practices, but at least, tested practices. >From my reading thus far, it is evident I shouldn''t use Rails to handle mongrel log rotation. Fine, I''m sold on that. The advice I''m seeing says that that one should use an external script to do this. So my question is, what are people using? What''s working well? Simple bash scripts or
2006 Jun 01
2
Best practices?
I just saw a mail about the best practices of something or other, and I was wondering is there a place where Ruby and RoR best practices can be found? Phil J. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060601/52ab6a0f/attachment-0001.html
2006 Oct 23
1
Updated Apache Best Practices Doc fixes
Hi guys, Thanks to several members I''ve updated the apache best practices docs to include several fixes including the bug reported (by Zed and someone else I believe, sorry for the non-attribution) with IE''s \b instead of b rule for deflate. I also added some success stories from Martins, Phillip Hallstrom, and Jens Kraemer -- and the REMOTE_USER pass instructions from Jon
2009 Jul 21
2
best practices for running asterisk as SIP B2BUA
Hi, What are the current best practices for running asterisk as SIP B2BUA? Are there any sample configs online or the books that detail this configuration for the newbies? I'm going to run it behind 1:1 NAT for the clients in the public internet so I will use the externip, localnet, and nat settings. Thanks, Andrew
2009 Nov 30
0
Fwd: DTrace & libtool "best practices"
Hi all, Has there been any progress with libtools DTrace USDT support http://www.mail-archive.com/libtool at gnu.org/msg10587.html thanks ----- Original Message ----- >From Charles Koester <charles.koester at oracle.com> Date Mon, 23 Nov 2009 17:01:17 -0800 To Marina Fisher <marina.fisher at sun.com> Subject DTrace & libtool "best practices" Greetings,
2012 Sep 29
3
Remote SIP Extension Best Practices
What are best practices for allowing connection by remote SIP extensions over the internet? I'm thinking of putting the SIP inside a VPN connection. Kind Regards, Chris