similar to: range queries in phrases/spans?

Displaying 20 results from an estimated 10000 matches similar to: "range queries in phrases/spans?"

2006 Aug 08
1
acts_as_ferret to search partial phrases and fuzzy
Hi All, I was wondering if anyone had experience of extending AAF plugin for Rails to implement a broader query ? The documentation and the demo provided on the http://projects.jkraemer.net/acts_as_ferret/ wiki seems to only match full text queries, or partial when using a * wildcard. Ideally, I am trying to acheive something similar to the following (pseudo code): def search @query
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",
2006 Dec 07
8
crash on repeated search
I have found another crash in ferret; this one just uses a regular search. It''s similar to an issue reported by Matt Schnitz a while ago, but unlike his, mine does not go away if I turn off omit_norms. It does go away if I turn on the garbage collector more often, but I''m not sure that''s a stable workaround under the circumstances. This one isn''t a
2008 Jan 11
3
Date range queries return zero results
Hello, I am having trouble getting data ranges to work correctly. I am using the following command to load the db: index << {:title => row[7].to_i, :date => Date.strptime(row[3], ''%Y-%m-%d''), :page_id => row[5].to_i, :page => row[6].to_i, :content_type => row[1].to_i,
2007 Jul 10
0
Article score calculations for Boolean and MultiTerm Queries, and customization options
Hi, I have some questions about the way that documents are scored by the Boolean and MultiTerm Queries, and about possible options for custom scoring articles. I am working on a project experimenting with different methods of automatically generating queries and the scoring mechanisms behind Lucene and Ferret have been perplexing us. >From looking at the Lucene explanation at (
2006 Oct 16
2
Ferret::QueryParser::QueryParseException
During our last week of Ferret / aaf usage (also our first week of Ferret / aaf usage), I have received 8 messages stating that our app encountered a Ferret::QueryParser::QueryParseException. For instance: A Ferret::QueryParser::QueryParseException occurred in foo#search: Error occurred in src/q_parser.y:279 - yyerror couldn''t parse query "com -- 404". Error message
2006 Oct 17
2
Problems with stop word analysis and queries
I have a problem, and I think it''s because stop word analysis isn''t happenning in the queries. I think it''s the way ferret is doing things that''s causing this bug. Let''s say I''m searching across documents with a title. And I have a document with a title of "Bash Guide for Beginners". If a user types in the query: Bash Guide
2006 Sep 20
3
Range searches some times they work, some times not...
Hi i''m using ferret to enable geographical postcode. I take a postcode and distance in miles from the user, strip off the outcode and then retrieve the associated x y coordinates in metres from the db. Then i get two temp x''s and y''s and search for all results that are within the box, see code below. Problems start to occur when i search on big distances so for
2006 Apr 12
2
Location of match?
Is it possible with Ferret to find the location of the matches in a document? For example imagine I have 100 documents and I search with the phrase "bob~0.5" and that returns 3 matching documents. How can I then find all locations in a specific document where it matched "bob~0.5". What I need is something like an array that contains the start index and length for each
2005 Dec 14
4
Fuzzy search on a phrase
I''m trying to use Ferret to do fuzzy searches. If I use fuzzy search for just one word, it works fine: index.search(''name:gogle~0.4'') However, if I try to use a phrase, it doesn''t work: index.search(''name:"gogle search engine"~0.4'') On the other hand, I could do: index.search(''name:gogle~0.4 AND
2006 Mar 29
2
AAH lost my IVR phrases
Hello- I have a low traffic AAH setup, a few hardphones, a few softphones, 50 calls per day max. I used the AMP Digital Receptionist to make a simple voice menu: "Thank you for calling xxxx". I did this for both Normal times and After Hours times. It worked fine. I then went to the AMP Maintenance window, Config Edit, got the "phpconfig for Asterisk PBX" page, and selected
2007 Nov 29
1
Adding new recorded phrases to the release
This might be a frequently asked question, but how do new sounds get added to the release? I was trying to do a "popcorn" extension on my phone (that gives the date and time... maybe even getting fancy and adjusting for the caller's timezone based on country code or area code)... but didn't have the word "local" or phrase "local time" in the lexicon. Now if
2012 Dec 13
2
replace parenthetical phrases in a string
R-helpers, I have a vector of character strings in which I would like to replace each parenthetical phrase with a single space, " ". For example if I start with x, I would like to end up with y. x <- c("My toast=bog(keep=3 no=4) and eggs(er34)omit=32", "dogs have ears", "cats have tails (and ears, too!)") y <- c("My toast=bog and eggs
2007 May 03
1
Numeric Range or comparision doesn''t work
Hi, it looks like Ferret still compares numeric fields by lexical ordering, not numerical ordering. I am using Ferret 0.11.4(I tried in both linux and windows, the results are the same). index = Ferret::Index::Index.new() docs = [ {:num => 1, :data => "yes"}, {:num => 1, :data => "no"}, {:num => 10, :data => "yes"}, {:num => 10, :data
2009 Dec 07
1
Autocomplete for phrases
Hi all. We are trying to use Xapian to index the titles of around ten million documents (music catalogue) and then do auto-complete style search on this index. After poking around we can't quite get the combination of QueryParser flags and search query that will give back the results we want. The closest we have can take a very long time (because it is searching for, and building a list of,
2008 May 12
1
Using StemFilter with PhraseQuery
Hi, I''m having difficulty getting the StemFilter and PhraseQuery to work properly together. When I use a StemFilter with a PhraseQuery, searches only work if the phrase consists of stems. For example, the search phrase "reduces health care" will not work but the phrase "reduce health care" will work even though the exact text "reduces health care" is
2006 Apr 15
1
Segmentation Faults with Fuzzy Queries
There are certain queries that I can execute that will cause a completely repeatable segmentation fault at the point where the search or search_each leaves my control and goes into the ferret libraries. I tried deleting my indexes and recreating them, and even so the exact same queries seg fault repeatedly after. Usually a one character change will make them succeed. Changing away from a
2007 Mar 13
2
index returns all results for specific queries
Hey all, I''m getting some really weird results when searching documents. It *seems* to be somehow related to the document format I''m using. I wrote a small script to replicate it: ################ #!/usr/bin/ruby require ''rubygems'' require ''ferret'' include Ferret index = Index::Index.new(:path => ''/tmp/fooindex'', :key
2006 Nov 04
0
Ferret 0.10.6 released (and some benchmarks)
Hey folks, ** Description ** Firstly for those who don''t know, Ferret is a full-text search library which makes adding search to your application a breeze. It''s much faster than MySQL full-text search as well most other search libraries out there. It allows you to do Boolean (+ruby + rails -jewelry) and phrase queries ("the quick brown fox") as well as some more
2011 Mar 15
0
FW: [newtech-1] Uncovering Spoken Phrases in Encrypted Voice over IP Conversations
Thought this might interest a few people on the asterisk list as well Cheers, Dean ________________________________ From: Dean Collins Sent: Tuesday, March 15, 2011 1:49 PM To: 'newtech-1 at meetup.com' Subject: RE: [newtech-1] Uncovering Spoken Phrases in Encrypted Voice over IP Conversations Wow, of course how stupid, when someone says hello at the start of the call