search for: bachir

Displaying 20 results from an estimated 40 matches for "bachir".

Did you mean: bacher
2007 Nov 14
4
scripts installed
...tion server and my os x development mcahine, there is a script at /usr/local/bin/mongrel_rails On an ubuntu 7.1 machine, this script appears at /var/lib/gems/1.8/bin/mongrel_rails mongrel was installed using gem in all cases. What is the cause of the discrepancy? Thanks, John -- John Joseph Bachir http://lyceum.ibiblio.org http://blog.johnjosephbachir.org aim/yim/msn/jabber.org/gtalk: johnjosephbachir 713-494-2704 http://jjb.cc
2007 Apr 09
5
IndexReader#terms for all fields?
Is it possible to query the index for a TermEnum for all fields in the index instead of just ? Thanks, John
2007 Mar 31
5
DRb server & aaf gem
I''m having problems getting the DRb server running with the aaf gem. I tried it with the plugin installed in my application, and it worked. I suspect the problem has something to do with the startup scripts expecting certain files to be in certain relative file paths. Any insights are appreciated, and maybe if you have time you can update the wiki document :) Thanks for a great
2007 Mar 29
4
nil''s representation in the index?
How are ruby nil values represented in the index? Thanks, John
2007 Apr 01
10
indexing mostly-binary documents (.ppt)
Here''s an interesting problem: In my app, we are indexing various types of documents, including microsoft powerpoint. Powerpoint documents are mostly binary, but have a bunch of text (all of the text in the document?) as well. My thinking is that the binary will never get searched for, and the proper text will be indexed and queried as expected, so the indexed binary will never
2007 Apr 01
7
baffling sort problem
I had sort-by-date working almost perfectly with my app. It was behaving as expected for most data, but had a few hiccups with certain data. I investigated and discovered that the correct data was storing this in my ferret index: "1999-10-18 00:00:00" and the incorrect data was storing this: "Mon Oct 18 00:00:00 EDT 1999" (oops...) So I of course had to fix the
2007 May 31
5
complete index rebuild using AAF trunk
I am using AAF trunk, and I want a way to rebuild an index on a production site with little or no interruption to service. The Drb Server documentation* states that when an index is rebuilt, it is done in a separate location and then swapped into place when finished, and so to do a complete rebuild on a live site, one must take into consideration objects which have been created or
2007 Jun 16
2
more specific queries via IndexReader
We would like to show a list of "most recently added terms", meaning, the results of this query: Resource.aaf_index.ferret_index.reader.terms(:summary) BUT, only returning terms from a certain set of documents (in our case, we are going to filter by creation data). Is this possible? Thanks, John
2007 Jan 17
7
removing special/syntax characters
Is there any somewhat standard way to remove or otherwise handle special or syntax characters from a user''s search, such as a colon? I was thinking maybe there was something akin to Ferret::Analysis::FULL_ENGLISH_STOP_WORDS, like Ferret::Analysis::FERRET_SYNTAX_CHARS, but no such luck. How are other folks dealing with filtering user input? John
2008 Jan 24
2
writing pid file earlier
...to write a pid-- I can''t think of a good way to delete the initial pid "just in time". Any ideas are appreciated, or if the mongrel team is open to a patch to write the pid much earlier, I can try to put that together. Cheers, John * http://god.rubyforge.org/ -- John Joseph Bachir http://blog.johnjosephbachir.org http://lyceum.ibiblio.org http://dissent.cc http://jjb.cc
2007 Apr 01
9
Important issue with [AAF] and :select
This is important and may be affecting you if you use :select to minimize the columns you need on big queries. If you use :select to define which columns you need and you have not included all the columns you defined in the :acts_as_ferret field definitions you''ll clear the content of those fields on the ferret index. And that may corrupt your index. So, if you have in your model:
2008 Jan 21
14
properly restarting mongrel instances
...top a couple times to make sure they are all down, and then do a deploy:start. Is my problem typical? Is there a solution? Seems like mongrel_rails and/or the capistrano recipes should wait for the processes to stop before attempting to restart them. Thanks for any insight, John -- John Joseph Bachir http://blog.johnjosephbachir.org http://lyceum.ibiblio.org http://dissent.cc http://jjb.cc
2016 Jun 18
1
Centos update 6.8 to 7
?I downloaded Centos 7 and i want to update from local usb i created using dd if=cenots7 of=/dev/sdc?i dont want to reinstall, i need just to update.What would be the best way to do so pleaseThanks muchBachir
2016 Jun 19
1
Centos 7 install on dual SSD disk Asus
?Dear all,I installed centos 7 on the second disk of my Asus laptop. The laptop i have has two SSD disks 240 G and 480G consecutively ? the fist? disk (240) has already windows 10 installed on , the second disk now has Centos 7 installed on.while insalling Centos 7 i let the bootloader part and because i can see only the centos disk not the windowsWhen i turn on my pc the windows part does not
2007 May 30
3
A way to get all the words from an index?
Hi, I am just wondering if there''s a way to get all the words from an index. Basically, all the words that have been indexed (excluding the stopwords if I''m using the stopwords analyzer, etc.) The fields I''m putting in are not :stored in the index. The idea is to implement a "did you mean?" mecanism, which is based on the content of the index, not on a
2006 Dec 18
2
non-zero result set, but nil element
With AAF I am seeing a strange situation, where a result set has 1 element, but the element is nil, or perhaps sometimes an empty array. I realize this isn''t much to go by, but the rest of my system, and seemingly parallel queries, are working fine. Any suggestions are much appreciated. John
2007 Nov 19
1
thanks for the mongrel_cluster fix!
...trano version detection was broken, I realized that 1.0.5 fixed the problem :) While we''re on the topic of code changes-- where is the mongrel_cluster subversion repository? I looked all over the mongrel site, sorry if I''m missing something obvious. Thanks, John -- John Joseph Bachir http://lyceum.ibiblio.org http://blog.johnjosephbachir.org aim/yim/msn/jabber.org/gtalk: johnjosephbachir 713-494-2704 http://jjb.cc -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20071119/27f833b3/attachment....
2008 Jan 25
2
strange capistrano problem
When trying to start ferret with capistrano, I keep getting this: $ cap services:ferret:stop domain [redken.digitalpulp.com] : user [john] : * executing `services:ferret:stop'' * executing "cd /srv/rails/redken/current; script/ferret_server -e production stop" servers: ["redken.digitalpulp.com"] Password: [redken.digitalpulp.com] executing command ***
2011 Sep 30
3
Multiple rack applications on the same server with unicorn
If I''m running two rails apps on the same server using Unicorn, I have to run two instances of Unicorn, right? If so, then here''s a place where passenger might win in terms of memory use, as the rails code will be loaded into memory twice, right? I''m still probably going with Unicorn, but just exploring this first. Thanks, John
2006 Nov 30
2
non-searchable columns, normalization
Hello. I am new to Ferret. I am using it through Acts as Ferret. Let''s say I have such a table, and all columns are indexed using the default behavior provided by acts_as_ferret: ARTICLES -id -year -body [1] A typical request will be "select id from articles where KEYWORDS % body". Will id be indexed for fulltext searching? clearly the fulltext index on id will never be