similar to: external highlighter/excerpter

Displaying 20 results from an estimated 40000 matches similar to: "external highlighter/excerpter"

2006 Jul 17
0
Draft port of lucene highlighter to ferret
Hi All, Hope all is going well. After being knocked out with the flu for a week I''ve been able to make some progress with porting the lucene highlighter to ferret. I''ve got a draft version available for perusal at: http://crafterm.net/ruby/highlighter/highlighter-ruby-0.1.tar.gz The port is pretty much a complete copy of the Java version at:
2011 Feb 23
0
Custom highlighter/match vector access?
Hi everyone, I know from the archives things have kinda slowed down on ferret and there''s an effort ongoing with lucy, but I was wondering if anyone had discovered a way to enumerate the matches of a particular field in the document and get the offsets? With what I''m trying to do, ferret will be indexing large portions of structured information, but I really don''t want
2007 Jul 19
1
highlighting from multiple indexes
Hi. I''m searching multiple indexes by passing an array of paths to Index::IndexReader.new(). I get several hits back, and can determine the document id of each. Now I want to fetch highlighted excerpts from a field in one of the matched documents. The problem I''m having is that Index::IndexReader doesn''t have a highlight() method. And, while Index::Index does
2007 Sep 12
1
Highlighting isue in description
I have read the highlighting section at http://www.railsenvy.com/2007/2/19/acts-as-ferret-tutorial#highlighting It mentions that for highlight to work I must have {:store => :yes}. However it also mentions that only "small" fields should be stored. My question is how small is small enough. I have a site where events information is maintained. I have events title and events
2007 Aug 08
2
Highlighting broken in TRUNK
Hello list, As there is still some large file support bugs in the 0.11.4 release I had to download the trunk and apply a patch sent in by kyle http:// ferret.davebalmain.com/trac/ticket/215. The problem is now that the highlighting doesn''t work. Somehow it combines excerpt_length with num_excerpts so if you have and excerpt_length of 50 and num_excerpts of 5 and you get only one
2007 Jul 30
0
Ferret crashing ruby while highlighting
Hi, I am having a problem where ferret.so is crashing which highlighting search results. The query string is "25,42,53,80,88,119,135,139,389,445,464,563,593,636,1441,1442,1444,1515, 1519,1527,1537,1546,3389". In the debugger I can see that the crash happens in search.c on line 907. The reason is that the excerpt->end field is -1. I think the reason is because in this code from
2007 Mar 06
3
Highlight method creates malformed characters.
Hello list, I''ve just updated to 0.11.3 and I came upon this problem. When using the highlight function in a rails application I sometimes get the error "Malformed UTF-8 character." It is just on certain documents and if I change the excerpt length the error disappears so it feels that if the highlight method cuts the text at the wrong character the function returns a
2005 Dec 14
4
Is it possible to highlight search keywords in results?
I''m wondering if ferret has any built-in search/replace mechanism that I might be able to use to highlight the query data in each search result. The reason I think this would be a good idea is that I could end up having to practically duplicate the ferret query parser just to interpret the query so that I can figure out how to highlight the keywords in the search results. Just in case
2007 Mar 31
4
not understanding search results
I''m getting some results that I don''t understand from a search. The code, based on the tutorial, and the results are below. Everything makes sense to me, except the results for the ''title:"Some"'' query. I would think that it should match the first two documents, but not the third. What am I missing here? Thanks for any help! --- code
2007 Nov 15
1
indexing runs out of memory
I''m using Ferret to index a whole bunch of stuff at once. Thousands of documents that produce an index which grows to about 1.25Gb. While the indexer is running, I watch the memory use of the Ruby process grow steadily until it, too, is up to about 1.25Gb -- at which point the process crashes printing: [FATAL] failed to allocate memory Does anyone else have any experience with
2006 Jul 05
1
[Newbie] Generated files don''t use Windows end-of-lines.
I''m trying to use Rails on Windows 2000. I''m running into an immediate problem in that all the files generated by Rails use the UNIX end-of-line convention instead of the Windows end-of-line convention. A non-compliant end-of-line convention will break any number of tools I may wish to use to manage these files. Is there a way to get Rails to emit Windows-compliant
2007 Jan 29
1
Segmentation fault in Search::Searcher#highlight
I''m using ferret 0.10.14 in Linux Fedora 3. When I do highlight with Index::Index#highlight, it works well. But, doing the same test with Searcher#highlight, [BUG] Segmentation fault occurred. Here''s my test code. require ''rubygems'' require ''ferret'' include Ferret::Search #searcher = Ferret::Index::Index.new(:path =>
2007 Feb 16
1
Highlight raises Segmentation Fault Error in Ferret 0.10.9 i
Hi Everyone, I am currently in process of upgrading Ferret 0..9.1 to Ferret 0.10.9 with Ruby 1.8.4 in windows platform. I am trying to use search highlight feature on index_searcher subject = index_searcher.highlight("subject:(blah blah)", 0, :field => :content, :pre_tag = "<span
2006 Nov 02
2
highlighting with find_by_contents
I''m trying to highlight keyword snippets using the highlight method of the results returned from find_by_contents (the actual models), but always come up with an empty array. Any ideas what could be going wrong? -- Posted via http://www.ruby-forum.com/.
2007 Feb 16
0
Highlight raises Segmentation Fault Error in Ferret 0.10.9 in Windows
Hi Everyone, I am currently in process of upgrading Ferret 0..9.1 to Ferret 0.10.9 with Ruby 1.8.4 in windows platform. I am trying to use search highlight feature on index_searcher subject = index_searcher.highlight("subject:(blah blah)", 0, :field => :content, :pre_tag = "<span
2006 Jun 13
5
Grep style output?
Hi All, Hope all is going well. Was just wondering if anyone has implemented a grep style output page of hits using Ferret as the index/query engine? Any thoughts about how best to implement it? The previous thread discussess highlighting - would that be the best approach to follow or is there a better way? Cheers, Marcus -- Posted via http://www.ruby-forum.com/.
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",
2007 Jul 06
0
Highlighting returns entire field in Ferret trunk?
Hello, I''m using Ferret trunk (#770) with Kyle''s large file support patch: http://ferret.davebalmain.com/trac/ticket/215 I''m having trouble with Ferret::Search::Searcher#highlight returning too much text around the query term. Regardless of what I set :excerpt_length to, highlight returns the entire contents of the field up to the first occurrence of the search
2006 Sep 25
9
acts_as_ferret highlight
I am getting nil returned when doing the following: r.highlight(@condition, :field => ''body'') ''r'' is an instance of the a_a_f model. ''body'' is a tokenized saved field. I am running latest ferret and a_a_f trunk. Am I doing something wrong? -- Posted via http://www.ruby-forum.com/.
2006 Sep 21
1
Ferret is now accepting donations
Hey folks, Since this is the Ferret mailing list I should preface this by that the donation of time and help by people like Jens Kraemer, Jan Prill and all the other people who have contributed to Ferret is just as valuable to me as any financial assistance. Thanks. Ferret has been a labour of love but it has taken up a lot more of my life than I ever expected. At in excess of 50,000 lines of