Displaying 20 results from an estimated 3000 matches similar to: "[Repost] Problem with url searching.."
2007 Mar 22
0
Url searching ?
Hi all :)
I have many objects with a url field, of course containing standards
urls...
I''m trying to match them but i actually got problems with that.
Here''s a little code of what i would like to achieve:
require ''rubygems''
require ''ferret''
require ''ftools''
class TestAnalyzer
def token_stream(field, str)
ts =
2007 Feb 16
1
Bug in IndexSearcher with limit => all and any offset
Here''s the deal:
static TopDocs *isea_search_w(Searcher *self,
Weight *weight,
int first_doc, // OFFSET
int num_docs, // LIMIT
Filter *filter,
Sort *sort,
filter_ft filter_func,
2006 Oct 12
2
Patching ferret problems...
Hi dave, and everyone ;)
I''ve finished my extension to export Index.search(..) loaded results
into json.
Here''s a little benchmark of what i''ve done :
>> Benchmark.realtime { INDEX.search(query, :limit => 1000).hits.each { |x| INDEX[x.doc].load.to_json } }
=> 7.38711595535278
>> Benchmark.realtime { INDEX.search(''type:hardware'',
2007 Feb 27
3
segfault in ferret 0.11.0
Hi,
Just downloaded the new ferret 0.11. I''m on OSX btw. I get this error
everytime I run my unit tests:
Loaded suite ferret_updater_unit_test
Started
E/usr/local/lib/ruby/1.8/erb.rb:504: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-24) [i686-darwin8.7.1]
Abort trap
When I revert back to 10.14 I dont get this error. When I comment out
the line:
Ferret::Index::Index.new({:path =>
2006 Oct 10
4
Need help for coding an extension to ferret
Hi,
i''m working on a project using Ferret for indexing it''s datas. I''m very
happy with it but i need to code an extension to implement a .to_json
method to TopDocs class, because ruby''s json implementation is really
really slow...
It''s my second (the first was the tutorial :/ ) ruby C extension, so i''m
not really at ease with ruby C
2006 Oct 20
1
Big problem with 0.10.12 gem :O
> Here''s the dump...
http://pastie.caboo.se/18686
ahFeel <= here''s the dumb :/
Cheers :)
J?r?mie ''ahFeel'' BORDIER
--
Posted via http://www.ruby-forum.com/.
2007 Jan 29
2
Segmentation fault in Index::Index#add_document
Hello,
Here''s the code that segfaults:
http://pastie.caboo.se/36467
I could have submitted a patch, but I''m not sure
whether this segfault is caused by Ferret or Ruby.
This seems to be triggered only when combining
a split and a gsub on an empty string of the returned
array, and trying to insert it directly into the
index.
However, there''s no problem when you
2006 Oct 20
2
Bug in search matching ?
Hi :)
Here''s a little code reproducing something that i consider as a bug, if
it''s not please explain :]
http://pastie.caboo.se/18693
Thanks by advance,
Cheers,
J?r?mie ''ahFeel'' BORDIER
--
Posted via http://www.ruby-forum.com/.
2011 Mar 08
2
err:module:import_dll Library d3dx9_43.dll
I am getting this error when trying to play Rift, which is odd I think because I can play WoW just fine.
I installed DirectX9 and 10 via winetricks, but still I get this error.
Code:
err:module:import_dll Library d3dx9_43.dll (which is needed by L"C:\\Program Files\\RIFT Game\\RIFT Game\\rift.exe") not found
err:module:import_dll Library d3dx9_43.dll (which is needed by
2011 Mar 01
5
Rift Seemingly can't patch.
I have been using wine for a grand total of 24 hours so am a little bit clueless, so please forgive me if this is actually something simple.
I've installed wine using the commands from here http://wiki.winehq.org/winetricks in the Ubuntu terminal and I've installed Winetricks, and I've got it to put in the three things from this post :http://forum.winehq.org/viewtopic.php?t=10959.
2007 Jun 24
4
Resetting ferret index before test runs
I need to reset the ferret index between test runs.
It seems like there are a few ways to reset the ferret index.
* Deleting the index directory -- is this really bad form?
* calling rebuild_index
* (any others?)
What would y''all recommend? (Sorry, I''m from Texas)
Preferably, I''d like a way to reset the index that I can integrate
into a selenium test.
-David
2011 Mar 21
9
Trying to run RIFT on OS X 10.6 and Having DirectX Issues
I've been working for a few hours to get RIFT running on my Mac Pro. I really don't want to have to get a full windows license to play the game so it seemed like a good alternative.
So I pulled wine via macports (I did this today so I got wine-1.2.2). Then downloaded the game and got it patched (my wife has a Windows machine and a Rift account). This is where progress stopped. I find that
2011 Apr 08
2
How do you update winetricks?
I am trying to play Rift. I just did a full install of openSUSE 11.4 (wanted to try something other than ubuntu). I added the WINE repo and installed it. I then installed Rift with the downloader with WINE instead of using my windows install. I used the winetricks that came with WINE and installed d3dx9 and vcrun2008.
I launched Rift and patched it, but when I hit play I get a Bright flashing
2007 Mar 28
6
trouble with PerFieldAnalyzer
I''m having trouble with PerFieldAnalyzer (ferret version 0.10.14).
Script:
require ''rubygems''
require ''ferret''
require ''pp''
include Ferret::Analysis
include Ferret::Index
class TestAnalyzer
def token_stream field, input
pp field
pp input
LetterTokenizer.new(input)
end
end
pfa =
2007 Jan 17
2
Dump and load functionnalities? Test patch provided
Hello everyone,
We need to create backups of our index, but there are a few
constraints:
- our application shouldn''t go offline for that
- it has to be done quickly
Ferret doesn''t seem to have this kind of functionnality
(though I''m very new to Ferret, I may be wrong), and
I figured that I couldn''t do it using plain Ruby
(it''s way too slow, try with
2007 Mar 19
3
Concurrency Problem in 0.11.3
Hi,
I''m having some strange/random crashes with ferret when using different
programs on the same index.
I created a script to reproduce the errors:
http://www.sig11.org/~seb/ferret_crash.rb
Usage:
In one terminal run: ruby ferret_crash.rb first
In another terminal: ruby ferret_crash.rb
Errors I usually get are but it is really random:
2011 Jun 29
3
rift won't start
I have seen some posts about rift, but none about the problems I am having, I have downloaded the patch, everything should be ready to go, but when I hit the start button, it thinks for a second and then just goes back to the regular "play" button. I have installed using winetricks.. I am not too familiar with wine, but I did get wow running a while ago..
any help would be greatly
2011 Apr 02
4
Directx help!
Hey guys I am new to wine and command line and I am fully self taught to this point. I am having trouble with my game Rift. I am using mac OSX 10.6 on macbook pro. I have already installed wine, macports, x11, xcode4, Microsoft fonts, xquartz.
I installed rift using Crossover games and it ran smoothly, but the trial version is over, and I want to continue playing RIft. I can start the game using
2007 Jul 09
3
Strange document loss
Hi all :-)
I''m experiencing strange document loss with Ferret 0.11.4 / Ruby 1.8.4.
The index handles around 3000 documents, and sometimes during a
query_update operation, the delete is done but not the add. That''s very
random and happens after a lot of queries (many K).
I''ve tried to look into Ferret''s C code, everything looks like going
well, the add *LOOKS
2011 May 10
3
Rift post 1.2 patch
game has failed for ALL wine users both under linux and Mac .
we all get a a Rift error code as soon as we start the program.