*/
	private void getSpectrumForQuery(String searchName) {
		
		List<String> result = new ArrayList<String>();
		try {
			DbAccessor.createConnection();
			CompoundLogic compoundLogic = new CompoundLogic();
			LOGGER.info("search records by keyword || " + searchName);
			List<Compound> compoundList = compoundLogic.getCompoundListByKeyword(searchName);
			DbAccessor.closeConnection();
			for (Compound compound : compoundList) {
				String prefix = SiteUtil.getServerPrefixByRecordId(compound.getId());
				result.add(String.format("%s\t%s\t%s", compound.getTitle(), compound.getId(), prefix));
			}
		} catch (SQLException e) {
	      LOGGER.error(e.getMessage(), e);
	      return;
	    }
		
		List<GuiDbTableRow> oGuiDbTableRows = new ArrayList<GuiDbTableRow>();
		for (int i = 0; i < result.size(); i++) {
			String nameId = (String) result.get(i);
			String[] cutNameId = nameId.split("\t");
			String index = String.valueOf(i + 1);
			String recordId = cutNameId[1];
			String recordTitle = cutNameId[0];
			String sitePrefix = cutNameId[2];
			String contributor = SiteUtil.getSiteNameByRecordIdPrefix(sitePrefix);
			GuiDbTableRow guiDbTableRow = new GuiDbTableRow(index, recordId, recordTitle, contributor);
			oGuiDbTableRows.add(guiDbTableRow);
		}
		
		if (StringUtils.isBlank(searchName)) {
			for (GuiDbTableRow row : oGuiDbTableRows) {
				guiDbTableRowMap.put(row.getRecordId(), row);
			}
		}
		
		fillGuiDbTableData(oGuiDbTableRows);
	}