Lucene with Database

2017-12-21 Thread Kumar, Santosh
Hi, I’m currently working on project which has the following scenario: 1. I have entities in DB on which I would like to prevent duplicates by same name or near match, for example, SalesOrder or SlsOrd or SalesOrd etc…are all considered same. For this, I would like to use fuzzy search and

Storing and retrieving Java objects in Lucene

2018-02-19 Thread Kumar, Santosh
Hi, I have a requirement to store a Java object with multiple fields into the Lucene index. Basically, at the application startup I run a select query on entities ( there are 5 of them as of now and may increase in future) and then create an index for each of these entities (5) i.e. five

Re: Storing and retrieving Java objects in Lucene

2018-02-19 Thread Kumar, Santosh
tore it in Lucene. You need to retrieve one field and you can easily convert back to object. Regards Ganesh On 20-02-2018 08:34, Kumar, Santosh wrote: > Hi, > > I have a requirement to store a Java object with multiple fields into the Lucene index

Re: Lucene with Database

2017-12-28 Thread Kumar, Santosh
t;riccardo.ta...@gmail.com> wrote: 2017-12-28 6:35 GMT+01:00 Kumar, Santosh <santosh.kuma...@sap.com>: > > While looking up for examples of fuzzy search with Lucene, I came across > examples that demonstrate Lucene with file system predominantly, so was >

Re: Lucene with Database

2017-12-27 Thread Kumar, Santosh
Hi Trejkaz, Evert, Riccardo, Thank you for your inputs. We have an application which we plan to migrate to Cloudfoundry and are yet to make a decision on DataBase with the contenders being PostgreSQL, MySQL, HANA DB, MongoDB. In the current setup, we use HANA DB which already has a fuzzy

Near real time search in Lucene 7.2.0

2018-03-06 Thread Kumar, Santosh
Hi All, I am new to Lucene API and need help with below issues: * How to achieve near real time search in Lucene v 7.2.0. ? I have seen examples of having one indexWriter open for entire application life cycle and invoking indexWriter. getReader() and reader.reopen(). But, these no longer