cancel
Showing results for 
Search instead for 
Did you mean: 

Solr Count of transactions in the index

babarlefou
Champ in-the-making
Champ in-the-making
Hello,

I have a problem with my Solr index :
- My index size on the disk (40G) is higher than the repository size (14G)
- The "Count of transactions in the index" is not equal to 0 (about 58000).

What is the solution to resolve there problems ? Reindex the repository ?


ps : I use Alfresco 4.0d.

Nicolas.
4 REPLIES 4

sujaypillai
Confirmed Champ
Confirmed Champ
Hello Nicolas,

I would suggest you to first hit the URL : http://<yourservername>:<portnumber>/solr/admin/cores?action=FIX to repair an unindexed or failed transaction. Please give it some time to FIX as the results may take  some time to show up.

If that doesn't work then you should definitely go for a index rebuild.


Thanks,
Sujay

babarlefou
Champ in-the-making
Champ in-the-making
Hi,

My index was reindexed. After 1 day, I have 11 "Count of transactions in the index but not the database".

Do you know where it can come ?
How can I remove these entries ?
How do I remove a specific transaction in the index ?

Thanks.

andy
Champ on-the-rise
Champ on-the-rise
Hi

It is possible there are transactions in the index but not in the DB.
Transactions can become empty (if they contain one node and that node is updated later)
The repository will clear these out. At the moment SOLR does not go looking for empty transactions and remove them

So this is OK. You can use the FIX option if you want. The wiki page covers what the various parts of the REPORT
mean and how they can arise.

Andy

babarlefou
Champ in-the-making
Champ in-the-making
Hi,

Thank you for the response, I try it.