software/test/performance/src/org/LexGrid/LexBIG/example/ScoreTerm.java
/**
	 * Resolves matching concepts for any word in the given term.
	 * @param css The code system to search.
	 * @param matchWords The term to match.
	 * @return The list of matching references.
	 * @throws LBException
	 */
Resolves matching concepts for any word in the given term.
@param css The code system to search.
@param matchWords The term to match.
@return The list of matching references.
Resolves matching concepts for any word in the given term . @param css The code system to search . @param matchWords The term to match . @return The list of matching references .
protected ResolvedConceptReferencesIterator resolveConcepts(CodingSchemeSummary css, String query) throws LBException {
		LexBIGService lbs = LexBIGServiceImpl.defaultInstance();
		CodingSchemeVersionOrTag csvt = new CodingSchemeVersionOrTag();
		csvt.setVersion(css.getRepresentsVersion());
		CodedNodeSet cns = lbs.getCodingSchemeConcepts(css.getLocalName(), csvt);
		cns.restrictToMatchingDesignations(
				query, SearchDesignationOption.ALL, MatchAlgorithms.LuceneQuery.name(), null);
		ResolvedConceptReferencesIterator matches = cns.resolve(
				ConvenienceMethods.createSortOptionList(new String[] {SortableProperties.code.name()}),
				null, new PropertyType[] {PropertyType.PRESENTATION});
		return matches;
	}
protected ResolvedConceptReferencesIterator resolveConcepts ( CodingSchemeSummary css , String query ) throws LBException { LexBIGService lbs = LexBIGServiceImpl . defaultInstance ( ) ; CodingSchemeVersionOrTag csvt = new CodingSchemeVersionOrTag ( ) ; csvt . setVersion ( css . getRepresentsVersion ( ) ) ; CodedNodeSet cns = lbs . getCodingSchemeConcepts ( css . getLocalName ( ) , csvt ) ; cns . restrictToMatchingDesignations ( query , SearchDesignationOption . ALL , MatchAlgorithms . LuceneQuery . name ( ) , null ) ; ResolvedConceptReferencesIterator matches = cns . resolve ( ConvenienceMethods . createSortOptionList ( new String [ ] { SortableProperties . code . name ( ) } ) , null , new PropertyType [ ] { PropertyType . PRESENTATION } ) ; return matches ; }
Resolves matching concepts for any word in the given term.
Resolves matching concepts for any word in the given term .
// Define a code set over the target terminology and
 // restrict to concepts with matching text based on 
 // the provided term.
 // Restrict the code set.
 // Resolve the concepts and assigned text.
