AnsweredAssumed Answered

Lucene serching issue.

Question asked by greglenain on Nov 21, 2005
Latest reply on Dec 1, 2005 by derek
he language Lucene query language doesn't always make it possible to find the awaited objects.

The following query returns the list of all the documents or directories contained in "myDirectoryName":

PATH:"app:company_home/cm:myDirectoryName/cm:*"

When the name of the repertory "myDirectoryName" is changed into "myNewDirectoryName", the query should be modified in:

PATH:"app:company_home/cm:myNewDirectoryName/cm:*"

This query however does not return any result!
And the old one continues to work.


In first analysis, it seems that the attribute "qname" of the table "child_assoc" is not updated after the name of "myDirectoryName" was changed.

How to allow Lucene to deal with the objects real name?

Outcomes