indexing json

2014-09-04 Thread Larry White
Hi, Is there a way to index an entire json document automatically as one can do with the new PostgreSQL json support? By automatically, I mean to create an inverted index entry (path: value) for each element in the document without having to specify in advance a schema. If not in Lucene, can this

Re: indexing json

2014-09-04 Thread Larry White
re :) > > http://www.elasticsearch.org/overview/elasticsearch/ > > []s > Napoli > > http://numere.stela.org.br > > > > > 2014-09-04 7:46 GMT-03:00 Larry White : > > > Hi, > > > > Is there a way to index an entire json document automatically as one can >

Recovering from QueryNodeException

2015-04-01 Thread Larry White
Hi, I'm looking for some insight into what conditions cause QueryNodeException and what one typically does about it? Since it's a checked exception, it implies that you are supposed to handle it recover, but the javadoc doesn't say much/anything about what causes it, so it's not so clear how to re

mutability of lucene index files

2015-09-12 Thread Larry White
Hi, I'm writing a backup routine for a system that includes Lucene for full-text search. The primary data store is based on immutable files, so it can be backed-up incrementally by copying any new files (and removing any files that have been deleted from earlier backups). It's my understanding fro

Re: mutability of lucene index files

2015-09-12 Thread Larry White
s out, would it > work to just use the built-in snapshot process? Here's something I > found (but didn't look at very closely) to get you started: > > http://stackoverflow.com/questions/17753226/lucene-4-3-1-backup-process > > And there's a link to the Lucene user&

How can I use a byte array as a Lucene index field?

2015-09-23 Thread Larry White
I'm using Lucene 4.10.3. (I plan to upgrade soon but need to fix an issue on this version today). I switched a Lucene index from using string document ids to byte arrays. The problem I'm having is that the system no longer finds documents by their id. I *suspect* this is because the lucene code is

Re: How can I use a byte array as a Lucene index field?

2015-09-23 Thread Larry White
ment) > will ever be able to find it. > > Try StringField instead ... in recent versions you can pass a BytesRef > value to that. > > Mike McCandless > > http://blog.mikemccandless.com > > > On Wed, Sep 23, 2015 at 10:17 AM, Larry White > wrote: > > I'm