@Override
	public void restoreXml(XmlPullParser parser, LSHVectorFactory vectorFactory) throws LSHException {
		vectormax = 0;			// Default
		fillinCategories = true;	// Default
		parser.start(name);
		manage.restoreXml(parser, vectorFactory);
		parser.start("simthresh");
		thresh = Double.parseDouble(parser.end().getText());
		parser.start("signifthresh");
		signifthresh = Double.parseDouble(parser.end().getText());
		parser.start("max");
		max = SpecXmlUtils.decodeInt(parser.end().getText());
		while (parser.peek().isStart()) {
			XmlElement el = parser.peek();
			if (el.getName().equals("vectormax")) {
				parser.start();
				vectormax = SpecXmlUtils.decodeInt(parser.end().getText());
			}
			else if (el.getName().equals("categories")) {
				parser.start();
				fillinCategories = SpecXmlUtils.decodeBoolean(parser.end().getText());
			}
			else if (el.getName().equals("exefilter")) {
				bsimFilter = new BSimFilter();
				bsimFilter.restoreXml(parser);
			}
			else
				throw new LSHException("Unknown tag: "+el.getName());
				
		}
		parser.end();
	}
The default value for the maximum number of similar functions to return 
<b>for a given input function</b>
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/protocol/QueryNearest.java