cancel
Showing results for 
Search instead for 
Did you mean: 

SOLR problem in 4.0e

sorrentinov
Champ in-the-making
Champ in-the-making
I've installed Alfresco Community 4.0e (with SOLR using SSL) and I notice that when I create a discussion and insert some content/replies then when I do a search in "Advanced search" and try to retrieve a word in the content nothing result is returned

I've done the same things in 4.2c and seems works

My questions are:

1) Alfresco 4.0e have fulltext search problem using SOLR?
2) If so, is possible to upgrade SOLR in 4.0e to last version applying the alfresco-community-solr-4.2c.zip?

Thanks
Vincenzo
10 REPLIES 10

Hi,

I've tried to switch on lucene instead of SOLR and I see in the log (enabling debug):


10:48:34,502 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Search' subsystem, ID: [Search, managed, lucene]
10:48:34,907 DEBUG [org.alfresco.repo.search.impl.lucene.fts.FullTextSearchIndexerImpl] FTS index request for archive://SpacesStore
10:48:34,907 DEBUG [org.alfresco.repo.search.impl.lucene.fts.FullTextSearchIndexerImpl] FTS index request for system://system
10:48:34,907 DEBUG [org.alfresco.repo.search.impl.lucene.fts.FullTextSearchIndexerImpl] FTS index request for user://alfrescoUserStore
10:48:34,907 DEBUG [org.alfresco.repo.search.impl.lucene.fts.FullTextSearchIndexerImpl] FTS index request for workspace://SpacesStore
10:48:34,907 DEBUG [org.alfresco.repo.search.impl.lucene.fts.FullTextSearchIndexerImpl] FTS index request for workspace://lightWeightVersionStore
10:48:34,907 DEBUG [org.alfresco.repo.search.impl.lucene.fts.FullTextSearchIndexerImpl] FTS index request for workspace://version2Store
10:48:34,907 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Search' subsystem, ID: [Search, managed, lucene] complete
10:48:35,469 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] Waiting for WRITE lock  - main
10:48:35,469 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] …GOT WRITE LOCK  - main -  in 0.0021914 ms
10:48:35,625 DEBUG [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory] Created ref counting reader for 380e5fa1-ea11-43ee-bb5c-6dea8cf7ad12 org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory$ReferenceCountingReadOnlyIndexReader@78d68713
10:48:35,625 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] … invalidating sub reader 380e5fa1-ea11-43ee-bb5c-6dea8cf7ad12
10:48:35,641 DEBUG [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory] Created ref counting reader for cdb484ac-abb0-41ed-8d74-a9dafba4f729 org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory$ReferenceCountingReadOnlyIndexReader@6568614
10:48:35,641 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] … invalidating sub reader cdb484ac-abb0-41ed-8d74-a9dafba4f729
10:48:35,656 DEBUG [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory] Created ref counting reader for a91f7546-cda2-44a1-a019-cfd576e1aad9 org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory$ReferenceCountingReadOnlyIndexReader@5e8313c5
10:48:35,656 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] … invalidating sub reader a91f7546-cda2-44a1-a019-cfd576e1aad9
10:48:35,672 DEBUG [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory] Created ref counting reader for 7c5067d7-f02e-4769-955d-ff79fdbe06bc org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory$ReferenceCountingReadOnlyIndexReader@77a10bd7
10:48:35,672 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] … invalidating sub reader 7c5067d7-f02e-4769-955d-ff79fdbe06bc
10:48:35,687 DEBUG [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory] Created ref counting reader for 8508e0dc-75c2-40f0-a0c9-e17516ae8fbe org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory$ReferenceCountingReadOnlyIndexReader@c8cefeb
10:48:35,687 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] … invalidating sub reader 8508e0dc-75c2-40f0-a0c9-e17516ae8fbe
10:48:35,687 DEBUG [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory] Created ref counting reader for 92c0afdb-0e00-4a0e-8418-edb03dc4382e org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory$ReferenceCountingReadOnlyIndexReader@7f21f894
10:48:35,703 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] … invalidating sub reader 92c0afdb-0e00-4a0e-8418-edb03dc4382e
10:48:35,703 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] a91f7546-cda2-44a1-a019-cfd576e1aad9 is still part of the index
10:48:35,703 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] 92c0afdb-0e00-4a0e-8418-edb03dc4382e is still part of the index
10:48:35,703 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] 380e5fa1-ea11-43ee-bb5c-6dea8cf7ad12 is still part of the index
10:48:35,703 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] cdb484ac-abb0-41ed-8d74-a9dafba4f729 is still part of the index
10:48:35,703 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] 8508e0dc-75c2-40f0-a0c9-e17516ae8fbe is still part of the index
10:48:35,703 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] 7c5067d7-f02e-4769-955d-ff79fdbe06bc is still part of the index
10:48:35,703 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] Index merger running …
10:48:35,703 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] Index cleaner running …
10:48:35,703 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] Waiting for READ lock  - indexThread2
10:48:35,719 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] RELEASED WRITE LOCK  - main
10:48:35,719 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] Waiting for WRITE lock  - main
10:48:35,719 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] …GOT READ LOCK  - indexThread2 -  in 1.1010456 ms
10:48:35,719 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] Indexes = 2
10:48:35,719 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] Merging = false
10:48:35,719 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] Deltas = 4
10:48:35,719 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] Deleting = false
10:48:35,719 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] RELEASED READ LOCK  - indexThread2
10:48:35,734 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] Index merger Merger applying MergeAction.NONE
10:48:35,734 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] …GOT WRITE LOCK  - main -  in 0.2737364 ms
10:48:35,734 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] a91f7546-cda2-44a1-a019-cfd576e1aad9 is still part of the index
10:48:35,734 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] 92c0afdb-0e00-4a0e-8418-edb03dc4382e is still part of the index
10:48:35,734 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] 380e5fa1-ea11-43ee-bb5c-6dea8cf7ad12 is still part of the index
10:48:35,734 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] cdb484ac-abb0-41ed-8d74-a9dafba4f729 is still part of the index
10:48:35,734 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] 8508e0dc-75c2-40f0-a0c9-e17516ae8fbe is still part of the index
10:48:35,734 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] 7c5067d7-f02e-4769-955d-ff79fdbe06bc is still part of the index
10:48:35,734 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] RELEASED WRITE LOCK  - main
10:48:35,734 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo]
Entry List
1         Name=380e5fa1-ea11-43ee-bb5c-6dea8cf7ad12 Type=INDEX Status=COMMITTED Docs=128347 Deletions=0
2         Name=cdb484ac-abb0-41ed-8d74-a9dafba4f729 Type=INDEX Status=COMMITTED Docs=14377 Deletions=0
3         Name=a91f7546-cda2-44a1-a019-cfd576e1aad9 Type=DELTA Status=COMMITTED Docs=74 Deletions=0
4         Name=7c5067d7-f02e-4769-955d-ff79fdbe06bc Type=DELTA Status=COMMITTED Docs=20 Deletions=0
5         Name=8508e0dc-75c2-40f0-a0c9-e17516ae8fbe Type=DELTA Status=COMMITTED Docs=122 Deletions=0
6         Name=92c0afdb-0e00-4a0e-8418-edb03dc4382e Type=DELTA Status=COMMITTED Docs=13 Deletions=0

10:48:35,750 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] Waiting for READ lock  - indexThread2
10:48:35,750 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] …GOT READ LOCK  - indexThread2 -  in 0.0015991 ms
10:48:35,750 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] Made C:\Alfresco\alf_data\lucene-indexes\workspace\SpacesStore org.alfresco.repo.search.impl.lucene.index.IndexInfo@7dcc2c70 for C:\Alfresco\alf_data\lucene-indexes\workspace\SpacesStore
10:48:35,781 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] Got C:\Alfresco\alf_data\lucene-indexes\workspace\SpacesStore org.alfresco.repo.search.impl.lucene.index.IndexInfo@7dcc2c70 for C:\Alfresco\alf_data\lucene-indexes\workspace\SpacesStore
10:48:35,750 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] Index cleaner running …
10:48:35,765 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] Indexes = 2
10:48:35,797 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] Merging = false
10:48:35,797 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] Deltas = 4
10:48:35,797 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] Deleting = false
10:48:35,797 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] Index merger done
10:48:35,812 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] RELEASED READ LOCK  - indexThread2
10:48:35,906 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
10:48:38,057 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
10:48:38,057 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
10:48:40,927 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
10:48:40,927 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
10:48:42,316 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] Waiting for WRITE lock  - main
10:48:42,316 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] …GOT WRITE LOCK  - main -  in 4.738E-4 ms
10:48:42,331 DEBUG [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory] Created ref counting reader for 3c682a19-2cbd-4012-aa4a-a970237eaa1d org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory$ReferenceCountingReadOnlyIndexReader@5489e163
10:48:42,331 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] … invalidating sub reader 3c682a19-2cbd-4012-aa4a-a970237eaa1d
10:48:42,363 DEBUG [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory] Created ref counting reader for 3dd020c1-9357-4269-bae3-8e044e75e219 org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory$ReferenceCountingReadOnlyIndexReader@49f4493e
10:48:42,363 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] … invalidating sub reader 3dd020c1-9357-4269-bae3-8e044e75e219
10:48:42,394 DEBUG [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory] Created ref counting reader for 11b08bce-fa0c-4b16-849d-efaf4ed4ad85 org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory$ReferenceCountingReadOnlyIndexReader@52ad03ef
10:48:42,394 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] … invalidating sub reader 11b08bce-fa0c-4b16-849d-efaf4ed4ad85
10:48:42,409 DEBUG [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory] Created ref counting reader for 601a0a0b-be83-4e3f-b7dd-45de7fc3c7cc org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory$ReferenceCountingReadOnlyIndexReader@19e4f8b
10:48:42,409 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] … invalidating sub reader 601a0a0b-be83-4e3f-b7dd-45de7fc3c7cc
10:48:42,425 DEBUG [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory] Created ref counting reader for 279eb6e1-8072-45f4-aa2c-eefcd3e1a8a0 org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory$ReferenceCountingReadOnlyIndexReader@3a38df00
10:48:42,425 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] … invalidating sub reader 279eb6e1-8072-45f4-aa2c-eefcd3e1a8a0
10:48:42,441 DEBUG [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory] Created ref counting reader for 9de21e67-a3d0-41e1-ae30-4dede6c8556d org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory$ReferenceCountingReadOnlyIndexReader@25073a2e
10:48:42,441 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] … invalidating sub reader 9de21e67-a3d0-41e1-ae30-4dede6c8556d
10:48:42,456 DEBUG [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory] Created ref counting reader for 8efe77cf-2c2e-40f5-a592-4c16c2ff0aae org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory$ReferenceCountingReadOnlyIndexReader@3113c6f6
10:48:42,456 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] … invalidating sub reader 8efe77cf-2c2e-40f5-a592-4c16c2ff0aae
10:48:42,472 DEBUG [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory] Created ref counting reader for 82a9885b-7ad5-4777-b3f4-1873650846a7 org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory$ReferenceCountingReadOnlyIndexReader@260304b
10:48:42,487 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] … invalidating sub reader 82a9885b-7ad5-4777-b3f4-1873650846a7
10:48:42,503 DEBUG [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory] Created ref counting reader for 9ddb23df-0d39-406b-8402-5a23320ac65d org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory$ReferenceCountingReadOnlyIndexReader@4b63e085
10:48:42,503 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] … invalidating sub reader 9ddb23df-0d39-406b-8402-5a23320ac65d
10:48:42,519 DEBUG [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory] Created ref counting reader for 0105c64f-1118-47da-a91f-812b839afdd6 org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory$ReferenceCountingReadOnlyIndexReader@6f42ac7
10:48:42,519 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] … invalidating sub reader 0105c64f-1118-47da-a91f-812b839afdd6
10:48:42,534 DEBUG [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory] Created ref counting reader for bf556b52-32c5-42e0-8344-babfcf8789b6 org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory$ReferenceCountingReadOnlyIndexReader@2b38113d
10:48:42,534 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] … invalidating sub reader bf556b52-32c5-42e0-8344-babfcf8789b6
10:48:42,550 DEBUG [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory] Created ref counting reader for 5de84ff2-9871-4531-9bb5-f374d6194c03 org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory$ReferenceCountingReadOnlyIndexReader@215eaa28
10:48:42,550 DEBUG [org.alfresco.repo.search.impl.lucene.index.IndexInfo] … invalidating sub reader 5de84ff2-9871-4531-9bb5-f374d6194c03
10:48:42,565 DEBUG [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory] Created ref counting reader for 094fffab-e05e-43ed-9b4a-41e7ec961b7a org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory$ReferenceCountingReadOnlyIndexReader@1f5ffded


Is correct to see message as well as GOT WRITE LOCK?

Thanks
Vincenzo