• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Ticket
  • Next Ticket →

Ticket #99 (closed story: fixed)

Opened 3 years ago

Last modified 2 years ago

Index existing (no-lucene-indexed) Databases

Reported by: sfrank Owned by: sfrank
Priority: minor Milestone: 3.0-Beta1
Component: Search Version: 3.0-Beta1
Keywords: Import, Export, Legacy, Maintenance Cc: callan

Description

In order to be able to search existing Databases, that have not been deployed including compass, we have to be able to index the database afterwards. Also ensure, that there are mechanisms for re-indexing, optimising, changing the index in a running system.

Change History

Changed 2 years ago by sfrank

  • version changed from 3.0-M1 to 3.0-M4

Changed 2 years ago by sfrank

  • status changed from new to closed
  • resolution set to fixed

A small wrapper MBean around the JpaGpsDevice? does this trick. Reference implementation is already done, but also waiting for JPA.

A simple call to

JpaGpsDevice? jpaDevice = new JpaGpsDevice?("jpa", emf); jpaDevice.setFetchCount(getFetchCount());

gps.addGpsDevice(jpaDevice);

gps.start(); gps.index(); gps.stop();

indexes the database, independently on the way the objects got into it. This indexing-method can be exposed in the MBean, so that indexing can be triggered via the jmx-console manually.

Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/