AnsweredAssumed Answered

SOLVED: Modified category name is still old in Lucene path!

Question asked by dwilson on Feb 23, 2009
Latest reply on Oct 13, 2009 by dbachem
I've changed the name of a category in Alfresco, and now my PHP web application that displays content lists by category is broken.  The name property of the category node is correct, but when I turn around and query Lucene by category it still has the old name.  I'm using queries like this:

     http://wiki.alfresco.com/wiki/Search#Category_Queries

For example, I changed the category from "Old Category Name" to "Updated Category Name".   The path indicates the old name as evidenced by the data in the Node Browser:
Primary Path:   /{http://www.alfresco.org/model/content/1.0}categoryRoot/{http://www.alfresco.org/model/content/1.0}generalclassifiable/{http://www.alfresco.org/model/content/1.0}Old Category Name
But under the properties table a few lines down the screen:
{http://www.alfresco.org/model/content/1.0}name = Updated Category Name
The first thing I did was a FULL reindexing on the server, and it did not update the paths to the new name as I had hoped it would.  One other tidbit, these categories have the "Incomplete" aspect on so there must be a mandatory property missing- perhaps this prevents it from being reindexed properly? 

Is there something I am missing?  Perhaps I should be using different information to generate my Lucene Category queries?  I need to get it fixed ASAP.

Thanks in advance!
Dave

Outcomes