-// $Id: CQLTermNode.java,v 1.25 2007-06-27 22:39:55 mike Exp $
+// $Id: CQLTermNode.java,v 1.26 2007-06-27 22:44:40 mike Exp $
package org.z3950.zing.cql;
import java.util.Properties;
* these must be provided - you can't have an index without a
* relation or vice versa.
*
- * @version $Id: CQLTermNode.java,v 1.25 2007-06-27 22:39:55 mike Exp $
+ * @version $Id: CQLTermNode.java,v 1.26 2007-06-27 22:44:40 mike Exp $
*/
public class CQLTermNode extends CQLNode {
private String index;
}
public String getIndex() { return index; }
- public String getQualifier() { return getIndex(); } // for legacy applications
public CQLRelation getRelation() { return relation; }
public String getTerm() { return term; }
attr = config.getProperty("index." + index);
if (attr == null)
- throw new UnknownQualifierException(index);
+ throw new UnknownIndexException(index);
attrs.add(attr);
String rel = relation.getBase();