Home
TeamSite
Branch not indexed for search
rabs
I have recently installed Teamsite search successfully.
I have added the branch to be indexed to branches.cfg. I have also stopped and started iw.tsindex and iw.tssearch services.
However, I am getting a "branch not indexed for search error message when I attempt to search from the teamsite UI.
Looking in the iw.tsindex.log file, i see the following error....
tail iw.tsindex.log
at java.lang.Thread.run(Thread.java:595)
[08 Jan 2009 09:07:26,392] INFO com.interwoven.hunter.index.BulkJobProcessor (BulkIndexer-0) - Job complete, but branch is still unindexed
[08 Jan 2009 09:07:26,393] ERROR com.interwoven.hunter.index.BulkJobProcessor (BulkIndexer-0) - Couldn't complete indexing due to exception
TeamSite Code :5000023
com.interwoven.hunter.common.TSException
at com.interwoven.hunter.common.Repository.getPath(Repository.java:256)
at com.interwoven.hunter.common.Repository.getPath(Repository.java:226)
at com.interwoven.hunter.index.BulkJobProcessor.processNextJob(BulkJobProcessor.java:80)
at com.interwoven.hunter.index.Indexer.run(Indexer.java:153)
at java.lang.Thread.run(Thread.java:595)
Can anyone give me some resolution ideas?
Find more posts tagged with
Comments
nipper
The indexer should have a log, see if you can find it.
Also you may want to remove the search index and retry the complete build.
Have any branches been indexed or is this a new setup ?
It will also be helpful to know OS, TS level, if search is remote or local, what DB, etc.
rabs
This is a new configuration, and no other branches are configured
The output from the iw.tsindex.log is a s follow......
tail iw.tsindex.log
[08 Jan 2009 09:39:40,426] INFO com.interwoven.hunter.index.BulkJobProcessor (BulkIndexer-0) - Job complete, but branch is still unindexed
[08 Jan 2009 09:39:40,427] ERROR com.interwoven.hunter.index.BulkJobProcessor (BulkIndexer-0) - Couldn't complete indexing due to exception
TeamSite Code :5000023
com.interwoven.hunter.common.TSException
at com.interwoven.hunter.common.Repository.getPath(Repository.java:256)
at com.interwoven.hunter.common.Repository.getPath(Repository.java:226)
at com.interwoven.hunter.index.BulkJobProcessor.processNextJob(BulkJobProcessor.java:80)
at com.interwoven.hunter.index.Indexer.run(Indexer.java:153)
at java.lang.Thread.run(Thread.java:595)
The set up is
OS: Linux 5
TS: 6.7.2
Search 2.1.1
Kavitha_Sundaram
Hi,
Any luck on this? I am facing the exact same issue.
Thanks in Advance.
rabs
I got this resolved using the following steps....
i.) First try the following simple test:
1) Please purge and refresh the branch in question...
For example:
./iwndxpurgebr /default/main/marketing
Success
Then run this command:
>./iwndxrefreshbr -i /default/main/marketing
and the 5000023 errors should clear for that branch.
ii.) If i.) above does not fix and the your get a message that the branch cannot be purged, then Recommendation is:
1. Stop search
2. Stop index
3. Delete all the contents of the Collections index (branches.db and all the branches collections folders). The Collections index path is indicated by
iw.index.agent.idxdir= in your search.properties file.
4. Make sure the branches.cfg has all the branches you want searchable listed
5. Start index
6. Start search
7. Check to see if the branches.db file and the various folders have been created in your Collections directory and your iw.tsindex.log should be clean.
iiii.) If still no go, fix will be to repair the mappings such that the Search/temp files on the TeamSite server are subscribed to properly by the Search/Index server, so we are going to try something slightly different this time in the full process as follows:
1. Stop search and index;
2. Clear out /temp folder contents on the TeamSite server
3. Delete all the contents of the Collections index "again" (branches.db and all the branches collections folders).
4. This time delete or comment out (#) all branch references in your branches.cfg file. If delete, save a copy of the file so you have a listing of branches.
5. Start index and search
6. Goto Search/bin folder and add in each branch manually using
iwndxaddbr
and
iwndxrefreshbr -i
monitor iw.tsindex.log for no more 5000023 errors and run iwndxstatus -a to be sure branch in question has 11 (Status "11" means indexing has completed successfully)
Here are the defenitions for those status codes in that status tag:
13-Bad
12-Partial
11-Indexed
10-Unindexed
7. Check to see if the branches.db file and the various folders have been created in your Collections directory.