From: Raja K. <ra...@si...> - 2004-03-24 15:31:01
|
It was very helpful.=20 Thanks a lot, - Raja. -----Original Message----- From: LeVan,Ralph [mailto:le...@oc...]=20 Sent: Wednesday, March 24, 2004 9:01 AM To: Raja Kannappan; jzj...@li... Subject: RE: [Jzjkit-user] Understanding Scan Response > 1. Step size? This one is kind of funny. When you ask for a list of terms, you kind of think that they will be adjacent term. But, if you want, for instance, every other term, then you need to specify a step size. Every term would be a step size of 1 (the default). Every other term would be a step size of 2. > 2. Scan status seems to a number with 0 being no error. Can I know > the meaning of other scan status codes? For example what 6 means etc., From the standard (with my comments in parens): 0 - Success 1 - Partial-1: Not all of the expected entries can be returned because the operation was terminated by access control (you aren't permitted to see these terms) 2 - Partial-2: Not all of the expected entries will fit in the response message (the resulting message is too big. You probably asked for way too many terms.) 3 - Partial-3: Not all of the expected entries can be returned because the operation was terminated by resource-control, at origin request. (You asked for the scan to be stopped.) 4 - Partial-4: Not all of the expected entries can be returned because the operation was terminated by resource-control, at the target. (The server decided that it had worked to hard on this already.) 5 - Partial-5: Not all of the expected entries can be returned because the term-list contains fewer entries (from either the low end, high end, or both ends of the term list) than the number of terms requested. (The index didn't have as many terms as you asked for.) 6 - Failure: None of the expected entries can be returned. One or more non-surrogate diagnostics is returned. > 3. Default diagnostic? A diagnostic from the default diagnostic set. For extensibility, there is a way to create your own diagnostic messages. This is just telling you that it is one of the standard diagnostics. In your case, diagnostic 114 means "Unsupported Use attribute" and the extra info of 1016 is the Use attribute that the server didn't like. So, the upshot of the response you got was that the server doesn't support browse on the "Any" index. Hope this helps! Ralph > -----Original Message----- > From: Raja Kannappan [mailto:ra...@si...] > Sent: Tuesday, March 23, 2004 3:57 PM > To: jzj...@li... > Subject: [Jzjkit-user] Understanding Scan Response >=20 >=20 > Sometimes, my scan response from ZClient looks like this: >=20 > =20 >=20 > Scan Response >=20 > ------------- >=20 > Reference ID : scan >=20 > Step size : null >=20 > Scan Status : 6 >=20 > Number of entries returned: 0 >=20 > Position of term: null >=20 > Non-surrogate diagnostics >=20 > Default diagnostic: 114 1016 >=20 > =20 >=20 > I want to understand the meaning of these terms: >=20 > =20 >=20 > 1. Step size? > 2. Scan status seems to a number with 0 being no error. Can I know > the meaning of other scan status codes? For example what 6 means etc., > 3. Default diagnostic? >=20 > =20 >=20 > Any pointer to where I can look into source code will also be helpful. >=20 > =20 >=20 > Thanks, >=20 > =20 >=20 > - Raja. >=20 > =20 >=20 > ************************************************* >=20 > =20 >=20 > Sirsi Corporation . . . http://www.sirsi.com >=20 > =20 >=20 > Raja Kannappan (ra...@si...) >=20 > Software Developer >=20 > 101 Washington Street, SE >=20 > Huntsville, AL 35801 >=20 > Work Phone: 256-704-7099 Extn - 7332 >=20 > Home Phone: 256-922-0341 >=20 > Cell Phone: 256-289-4143 >=20 > Fax: 256-704-7007 >=20 > =20 >=20 > How will you shape the future? >=20 > =20 >=20 > ************************************************* >=20 > =20 >=20 >=20 |