Searching work items
Hi guys
Been using this for a while now and have recently upgraded to 2.0 Std. When using either the web or the eclipse client we are find problems searching for work items. In the web client, if I select Work Items and then use the search box to look for text it doesn't bring back all the matching items but only a subset. Any ideas as to whats wrong? thanks David |
17 answers
daviesd wrote:
Hi guys Are these work items from different project areas? Searches are usually scoped by project area. E.g. in the Eclipse Client you select the project area to search in. Did you recently move to a different server? Note that the location of the fulltext index (used for these searches) is separate from the database, so maybe there is a disparity now. Otherwise, please open a bug report on this issue to further look into the details. If you migrated from 1.0 to 2.0, the migration log would be useful as well. -- Benjamin Pasero Work Item & UI Commons Team |
Hi Benjamin
All of the work items are in the same project area. We have moved to a new database as part of the upgrade from 1.0 to 2.0. Where is the fulltext index located and how do we reset it if needed?? many thanks David |
daviesd wrote:
Hi Benjamin Ok, the fulltext location is configurable in the Admin Web UI. If you move to a new server, the fulltext location is not moved and likely stale. I recommend you run the repository tools to re-create the fulltext index at the right location (use the -rebuildTextIndices parameter). -- Benjamin Pasero Work Item & UI Commons Team |
Hi Benjamin
I ran the repotools -rebuildTextIndices and it completed with no errors. Not sure if I need to restart the server or not. Looking at me web client, if I click on work items and then run the predefined query, All Stories. I can see a story with a summary of 'Use cases for golden 4 matching' and I can open this on the screen. If I then use the search box on the top left and search for the word 'golden' it finds no matches. It is selected to search All Word Items. Any ideas? thanks David |
daviesd wrote:
Hi Benjamin Please take a look at http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/index.jsp?topic=/com.ibm.team.install.doc/topics/c_repotools_overview.html on how to use the repository tools. You need to stop the server, run repository tools and start the server again. Can you access the fulltext index location as configured by the Admin properties? Is there some data inside or is it empty? -- Benjamin Pasero Work Item & UI Commons Team |
Hi
Stopped and restarted the server, still no joy. In the location of the fulltext there is a directory called com.ibm.ibm.team.workitem.WorkItem. This contains 3 files which all have a timestamp of when I can the repotools command. _23.cfs <424K>, segments.gen <1K>, segments_49 <1K> David |
Hi Hi David Just to be really precise - did you stop the server, *re-run* the repotools command while the server is not running, and then start the server? anthony |
Hi Anthony
Yep, stopped the server, ran the repotools command and then restarted the server. Had a look in the fulltext directory and the 3 files were timestamped with the correct time. Still didn't find the records though using text, it works fine if I type in the number. cheers David |
Hi Anthony OK - next thing to try - if you go to your browser, clear the browser cache - does that make any difference? anthony |
kesterto wrote:
daviesdwrote: Maybe there is a different issue: Note that we cap the number of results at a certain amount, so if you search for high freauent terms (e.g. "team") you might not see all results. Could you give an example of there it failed? Also one thing to try out: If you think a work item should be part of the result of your search, try saving it once (e.g. add a subcriber) to force a reindexingf of its contents (this happens on every save). This ensures it must be in the fulltext index. Also, I guess you have configured the search in a way that it looks in the right project area? To do a search across all project areas you can use the Jazz Text Search from the Search menu of the Eclipse client. Are the results you expect returned from there? -- Benjamin Pasero Work Item & UI Commons Team |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.