Project

General

Profile

« Previous | Next » 

Revision 7625

Added by Jing Tao over 11 years ago

Add the solr engine to the engine list.

View differences:

src/edu/ucsb/nceas/metacat/dataone/MNodeService.java
143 143
    implements MNAuthorization, MNCore, MNRead, MNReplication, MNStorage, MNQuery {
144 144

  
145 145
    private static final String PATHQUERY = "pathquery";
146
    public static final String SOLRQUERY = "solrquery";
146
    public static final String SOLRQUERY = "solr";
147 147
	private static final String UUID_SCHEME = "UUID";
148 148
	private static final String DOI_SCHEME = "DOI";
149 149
	private static final String UUID_PREFIX = "urn:uuid:";
......
1438 1438
		QueryEngineList qel = new QueryEngineList();
1439 1439
		// support pathquery initially
1440 1440
		qel.addQueryEngine(PATHQUERY);
1441
		// TODO: implement solr-based query
1442
		//qel.addQueryEngine("solr");
1441
		qel.addQueryEngine(SOLRQUERY);
1443 1442
		return qel;
1444 1443
	}
1445 1444

  

Also available in: Unified diff