Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

java.lang.IllegalStateException using full text search

Recently search stopped working with the following error;

Error running operation 'All Unresolved Work Items containing 'term''
java.lang.IllegalStateException: doc count differs for segment _25: fieldsReader shows 2 but segmentInfo shows 1
java.lang.IllegalStateException: doc count differs for segment _25: fieldsReader shows 2 but segmentInfo shows 1

Any idea how to fix this?
It is happening for a number of users when searching using the quick search box or when trying a query with the 'Full Text' condition set

In the web UI the error thrown is;

Error!

: doc counts differ for segment _25: fieldsReader shows 2 but segmentInfo shows 1

0 votes



3 answers

Permanent link
I have the same problem after updating from RTC 2.0.0.0 to 2.0.0.2. This search only fails when I enter alpha nummeric characters.
It works with numbers.

Any ideas?

Recently search stopped working with the following error;

Error running operation 'All Unresolved Work Items containing 'term''
java.lang.IllegalStateException: doc count differs for segment _25: fieldsReader shows 2 but segmentInfo shows 1
java.lang.IllegalStateException: doc count differs for segment _25: fieldsReader shows 2 but segmentInfo shows 1

Any idea how to fix this?
It is happening for a number of users when searching using the quick search box or when trying a query with the 'Full Text' condition set

In the web UI the error thrown is;

Error!

: doc counts differ for segment _25: fieldsReader shows 2 but segmentInfo shows 1

0 votes


Permanent link
It seems that this problem is related to the workitemindex folder, which seems to contain inconstant files.

Is there a way to reindex the data on the running system? When I try to delete it now, it the files are locked.

Thanks,
Alexander

I have the same problem after updating from RTC 2.0.0.0 to 2.0.0.2. This search only fails when I enter alpha nummeric characters.
It works with numbers.

Any ideas?

Recently search stopped working with the following error;

Error running operation 'All Unresolved Work Items containing 'term''
java.lang.IllegalStateException: doc count differs for segment _25: fieldsReader shows 2 but segmentInfo shows 1
java.lang.IllegalStateException: doc count differs for segment _25: fieldsReader shows 2 but segmentInfo shows 1

Any idea how to fix this?
It is happening for a number of users when searching using the quick search box or when trying a query with the 'Full Text' condition set

In the web UI the error thrown is;

Error!

: doc counts differ for segment _25: fieldsReader shows 2 but segmentInfo shows 1

0 votes


Permanent link
This could have been more obvious, but this solved the problem:

repotools -rebuildtextindices

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Apr 27 '09, 4:48 p.m.

Question was seen: 5,529 times

Last updated: Apr 27 '09, 4:48 p.m.

Confirmation Cancel Confirm