cancel
Showing results for 
Search instead for 
Did you mean: 

What Solr4 fields used by Alfresco5 to index uploaded document's content

mhb
Champ on-the-rise
Champ on-the-rise

Hello,

I would like know what are the solr4 field names that alfersco (community 5.1) uses to index the content of uploaded documents? I am writing a custom analyzer and I need to specify the analyzer in the adequate fields. I have been testing with various fields on schema file but I can't seem to find the correct one.

Thank you very much

Ragards,

Hadhood

1 ACCEPTED ANSWER

kaynezhang
World-Class Innovator
World-Class Innovator

Alfresco use many solr dynamic fields to save content  related information such as size ,locale ,mimetype,transformation status ,transaction time .All dynamic fields name begin with  content@ defined in schema.xml  are used by content property.

For content that according content language type ,it will try to  use solr fieldtype text_${locale},for default content it will solr fieldtype text___(the cross locale one).

View answer in original post

4 REPLIES 4

angelborroy
Community Manager Community Manager
Community Manager

Maybe you can find useful these two articles from @gravitonian

Searching with Alfresco 5.1 Enterprise

Searching with Alfresco 5.1 Community 

Hyland Developer Evangelist

mhb
Champ on-the-rise
Champ on-the-rise

Thank you very much for these tutorials. They are very in depth and full of important details. I enjoyed the read, and I've found the answers I've been looking for.

Ragards,

kaynezhang
World-Class Innovator
World-Class Innovator

Alfresco use many solr dynamic fields to save content  related information such as size ,locale ,mimetype,transformation status ,transaction time .All dynamic fields name begin with  content@ defined in schema.xml  are used by content property.

For content that according content language type ,it will try to  use solr fieldtype text_${locale},for default content it will solr fieldtype text___(the cross locale one).

mhb
Champ on-the-rise
Champ on-the-rise

Hello, thank you for your response. I already figured from reading the tutorial from the previous answer by Angel Borroy I marked this reply as the correct answer because it contains the correct information I was seeking, so it would be easier to retrieve by other users.

Regards