cancel
Showing results for 
Search instead for 
Did you mean: 

Document is unsearchable without property update

fouada
Confirmed Champ
Confirmed Champ

Hi All,

i am using Alfresco 4.1 and seeing a strange behavior . If i just upload a document in site and try to search it using

Advance search by selecting my custom type results 0 files. But when i update any property of that document ,it becomes searchable.

Can I do anything to resolve this issue or it is a default behavior.

 

Thanks,

Fouad

12 REPLIES 12

cesarista
World-Class Innovator
World-Class Innovator

Hi:

May you upload the xml of your model definition ? May you upload a complete screenshot of the custom type form ? May you give details of the query debugged when searching in this custom type form ? . We can not suggest further if we don't have more details Smiley Sad

Regards.

--C.

andy1
Star Collaborator
Star Collaborator

Hi

So what is your type definition?

I assume your rule ONLY runs for create/enter and NOT for the other two options.

I assume the rule is synchornous....

Are you saying that.... "some mandatory properties are not set to default values when the type is set by the rule

..... and these mandatory properties do appear with their defaults when you edit any property (and no rule is expected to run)"

That does not sound right. However there is an easy work around if this is the case. You could set one of your  default values in a second action.

The indexing process is not going to see any properties that you do not see in the node browser.


Cheers

Andy

fouada
Confirmed Champ
Confirmed Champ

Issue is resolved. 

1. When I just upload file my custom boolean were not getting saved.

2. But in search query boolean property values are going as false.

So when I have set the default value in content model. Documents became searchable.\

Thanks to Cesar Capillas for logs generation tips.