What type of change to an asset triggers a reindex?


(Iestyn Polley) #1

Hi all,

 

I'm trying to understand when an asset is reindexed by the search manager in Squiz Matrix.

 

The manual says this:

"Once it is turned on, assets will automatically be indexed when they are created or when a change to an asset is committed"

 

So what actions does Matrix consider to be a change? A commit? Does it consider different commits differently, say committing a metadata value change is different to committing a status change?

 

Iestyn.


(Bart Banda) #2

I'm pretty sure the whole asset gets re-indexed on any change, attributes or metadata. I believe it just follows the indexing rules in the search manager to decide what to index. 


(Brendan Halloran) #3

Can an asset be re indexed by the Search Manager when it is changed based on a trigger? If so, how could this be achieved, as the way I have currently set up a trigger that does change an asset does not get the asset re indexed.


(Bart Banda) #4

What kind of change does the trigger to do the asset? 

I've never tested this myself so not sure if the re-index happens, but ideally it should when you do things like changing its name, contents, or metadata, etc. 


(Brendan Halloran) #5

Hi Bart,

 

Peter Armstrong from Squiz Support is looking into the issue. I will let you know the outcome.

 

Brendan.


(Brendan Halloran) #6

Hi Bart. If you are interested, you might like to look up ticket #59878 where the resolution to this problem is detailed.

 

Essentially, we now have a trigger that updates a metadata field value which then gets the asset re-indexed by the search manager. However, the issue of why this does not happen without the trigger is still being looked into I believe.

 

Brendan.