private MarkerSet createMarkerSet(String title) {
		MarkerSet markers = service.createPointMarker(title, "Search", program,
			MarkerService.SEARCH_PRIORITY, true, true, false,
			SearchConstants.SEARCH_HIGHLIGHT_COLOR, SEARCH_MARKER_ICON);

		markers.setMarkerDescriptor(new MarkerDescriptor() {
			@Override
			public ProgramLocation getProgramLocation(MarkerLocation loc) {
				return new BytesFieldLocation(program, loc.getAddr());
			}
		});

		// remove it; we will add it later to a group
		service.removeMarker(markers, program);
		return markers;
	}
Manages the {@link MarkerSet} for a given {@link MemorySearchProvider} window.
Ghidra/Features/Base/src/main/java/ghidra/features/base/memsearch/gui/SearchMarkers.java