properties as well as "index.dc.creator" -- backwards compatible with
version prior to 1.0 as well as those subsequent.
qual.equals("cql.resultSetName"));
}
qual.equals("cql.resultSetName"));
}
public String getResultSetName() {
if (isResultSetIndex(index))
return term;
public String getResultSetName() {
if (isResultSetIndex(index))
return term;
attr = config.getProperty("index." + index);
if (attr == null)
attr = config.getProperty("index." + index);
if (attr == null)
+ attr = config.getProperty("qualifier." + index);
+ if (attr == null)
throw new UnknownIndexException(index);
attrs.add(attr);
throw new UnknownIndexException(index);
attrs.add(attr);
if (len > 0 && text.substring(len-1, len).equals("^"))
text = text.substring(0, len-1);
if (len > 0 && text.substring(len-1, len).equals("^"))
text = text.substring(0, len-1);
- String attr, attrList, term = text;
byte[] operand = new byte[text.length()+100];
int i, j, offset, type, value;
offset = putTag(CONTEXT, 0, CONSTRUCTED, operand, 0); // op
byte[] operand = new byte[text.length()+100];
int i, j, offset, type, value;
offset = putTag(CONTEXT, 0, CONSTRUCTED, operand, 0); // op
operand[offset++] = 0x00;
offset = putTag(CONTEXT, 45, PRIMITIVE, operand, offset); // general Term
operand[offset++] = 0x00;
offset = putTag(CONTEXT, 45, PRIMITIVE, operand, offset); // general Term
- byte[] t = term.getBytes();
+ byte[] t = text.getBytes();
offset = putLen(t.length, operand, offset);
System.arraycopy(t, 0, operand, offset, t.length);
offset += t.length;
offset = putLen(t.length, operand, offset);
System.arraycopy(t, 0, operand, offset, t.length);
offset += t.length;