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
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
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.