rande/sfSolrPlugin

'404' Status: Not Found Exception

Closed this issue · 1 comments

Hi,

I have read the readme and follow the instruction but when i run

./symfony lucene:update-model frontend myIndex fr Post
I get

Processing "myIndex/fr" now...

Lucene Rebuilding index...
Indexer batch indexing - offset:0, limit:50.
Indexer - fetching and hydrating objects in 0.00622 seconds.
Indexer - creating one object in 0.01672 seconds.
Indexer - creating one object in 0.00423 seconds.
Indexer - creating one object in 0.00423 seconds.
Indexer - creating solr documents in 0.02557 seconds.
Indexer indexing Failed indexing object - primary keys [1, 2, 3]
sfLuceneDoctrineIndexerHandler indexing document fail : '404' Status: Not Found
Lucene Index rebuilt.
Lucene Committing changes...

'404' Status: Not Found

Can you try to explain me where is the problem ?
PS: My schema file use of Doctrine_i18n behavior

Post:
actAs:
Timestampable: ~
Sluggable: ~
I18n:
fields: [description, name]
columns:
name:
type: string(255)
notnull: true
description:
type: clob
notnull: true

And my search.yml

index:
cultures: [en, fr]
encoding: UTF-8
host: localhost
port: 8983
base_url: "/solr"

myIndex:
models:
Post:
fields:
id: { type: int, stored: true }
name:
stored: true
description:
stored: true
transform: strip_tags
alias: getDescription
omitNorms: false # enable boost

Any ideas ?

Thanks a lot for the help and this wonderful plugin :)

Clement

Restart the server fix this bug :)