This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » plugins » Search plugins » lucene problems
lucene problems [message #85502] Fri, 18 September 2009 14:20 Go to next message
skywalker  is currently offline skywalker
Messages: 334
Registered: March 2008
Location: Norway
Faithful Member
Hello,

I'm trying to set up lucene. I have gone through the instruction but when I shall try to do a 'symfony lucene-rebuild myapp', I get the following error:

Processing "MyIndex/" now...
>> lucene    Created new index
>> lucene    Rebuilding...


  [PropelException]
   [wrapped: No driver has been registered to handle connection type:  [User Info: Array]]


What does this mean?

I have used google to try to find anything on this, but without luck.

BTW, I'm using Symfony 1.0.20


May the source be with you
[SOLVED] Re: lucene problems [message #85506 is a reply to message #85502 ] Fri, 18 September 2009 15:06 Go to previous message
skywalker  is currently offline skywalker
Messages: 334
Registered: March 2008
Location: Norway
Faithful Member
Solved. It turn out that any params in the databases.yml must be under the all:

So this does NOT work:
dev:
  propel:
    param:
      phptype:      mysql
      hostspec:     my.internal.host
      database:     mydb
      username:     myuser
      password:     mypassword
      encoding:     utf8

all:
  propel:
    class:          sfPropelDatabase


While this WORK:
all:
  propel:
    class:          sfPropelDatabase
    param:
      phptype:      mysql
      hostspec:     my.internal.host
      database:     mydb
      username:     myuser
      password:     mypassword
      encoding:     utf8


May the source be with you
Previous Topic:Zend Search Lucene: php timeout with small index
Next Topic:No result when searching unique data
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software