Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

User Story #99 (closed)

Opened 18 years ago

Closed 18 years ago

Index existing (no-lucene-indexed) Databases

Reported by: sfrank Owned by: sfrank
Priority: minor Milestone: 3.0-Beta1
Component: Search Keywords: Import, Export, Legacy, Maintenance
Cc: cxallan Story Points: n.a.
Sprint: n.a. Importance: n.a.
Total Remaining Time: n.a. Estimated Remaining Time: n.a.

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 (2)

comment:1 Changed 18 years ago by sfrank

  • Version changed from 3.0-M1 to 3.0-M4

comment:2 Changed 18 years ago by sfrank

  • Resolution set to fixed
  • Status changed from new to closed

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. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.62256 sec.)

We're Hiring!