This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

Lucene on sf 1.4 on MAMP

Questions relating to sfLucenePlugin, sfSearch etc

Lucene on sf 1.4 on MAMP

by karolski » Tue May 03, 2011 11:20 pm

Recently I switched to MAC and I moved my projects from WAMP (PC) to MAMP (MAC).

Everything is working fine except Lucene Search Engine. When it do some action it's taking very much time and end on PHP Error (Maximium time....)

Anyone know what could be the problem?

I'm runing Symfony 1.4.11, PHP 5.3.5, also everything is working well on production server (unix)
karolski
Junior Member
 
Posts: 5
Joined: Tue May 03, 2011 11:16 pm

Re: Lucene on sf 1.4 on MAMP

by touch_the_sky » Wed May 04, 2011 2:10 am

Have you tried changing the max execution time (for example in php.ini, or set_time_limit()) to see if you can get some error pointing you to a fix, etc.?
User avatar
touch_the_sky
Member
 
Posts: 96
Joined: Tue Jun 16, 2009 4:13 pm

Re: Lucene on sf 1.4 on MAMP

by karolski » Wed May 04, 2011 8:07 am

I tried, then after about 120 seconds I get error in QueryLexer file in iconv function - I tried some changes, etc. but it doesn't help.
karolski
Junior Member
 
Posts: 5
Joined: Tue May 03, 2011 11:16 pm

Re: Lucene on sf 1.4 on MAMP

by ludo5532 » Tue May 24, 2011 4:35 pm

Hi,
I have the same problem, have you found a solution ?
ludo5532
Junior Member
 
Posts: 2
Joined: Tue May 24, 2011 4:18 pm

Re: Lucene on sf 1.4 on MAMP

by karolski » Tue May 24, 2011 4:54 pm

Yes,
Install XAMPP, You can install XAMPP next to MAMP, also with XAMPP You need to set directorys/files premisions.

http://www.apachefriends.org/en/xampp-macosx.html
karolski
Junior Member
 
Posts: 5
Joined: Tue May 03, 2011 11:16 pm

Re: Lucene on sf 1.4 on MAMP

by ludo5532 » Tue May 24, 2011 9:11 pm

Thanks for your answer, Finally i configured the Apache preinstalled on Mac Os with PHP and it's works.
ludo5532
Junior Member
 
Posts: 2
Joined: Tue May 24, 2011 4:18 pm

Re: Lucene on sf 1.4 on MAMP

by MichelleLaRue » Fri Jul 15, 2011 9:12 am

Thank you so much for posting the information. :) :) :)


Tim Manning
MichelleLaRue
Junior Member
 
Posts: 1
Joined: Fri Jul 15, 2011 9:03 am