Re: Question on Lucene hot-backup functionality.

2013-07-23 Thread Shai Erera
Hi In Lucene 4.4 we've improved the snapshotting process so that you don't need to specify an ID. Also, there's a new Replicator module which can be used for just that purpose - take hot index backups of the index. It pretty much hides most of the snapshotting from you. You can read about it here:

Question on Lucene hot-backup functionality.

2013-07-23 Thread Marcos Juarez Lopez
I'm trying to get Lucene's hot backup functionality to work. I posted the question in detail over at StackOverflow, but it seems there's very little Lucene knowledge over there. Basically, I think I have setup everything correctly, but I can't get a valid snapshot when trying to do a backup. I'm

Re: Tokenize String using Operators(Logical Operator, : operator etc)

2013-07-23 Thread lukai
JavaCC or antlr would be your choice. On Tue, Jul 23, 2013 at 4:19 AM, dheerajjoshim wrote: > Greetings, > > I am looking a way to tokenize the String based on Logical operators > > Below String needs to be tokenized as > *arg1:aaa,bbb AND arg2:ccc OR arg3:ddd,eee,fff* > > Token 1: arg1:aaa,bbb

Re: Tokenize String using Operators(Logical Operator, : operator etc)

2013-07-23 Thread Erick Erickson
I really don't see what the use-case here is. When you say "later", what does that mean? You're indexing what and querying how? Best Erick On Tue, Jul 23, 2013 at 7:19 AM, dheerajjoshim wrote: > Greetings, > > I am looking a way to tokenize the String based on Logical operators > > Below String

RE: QueryParser for DisjunctionMaxQuery, et al.

2013-07-23 Thread Beale, Jim (US-KOP)
Oh, sorry! Jim Beale hibu.com 2201 Renaissance Boulevard, King of Prussia, PA, 19406 Office: 610-879-3864 Mobile: 610-220-3067 -Original Message- From: Chris Hostetter [mailto:hossman_luc...@fucit.org] Sent: Tuesday, July 23, 2013 1:42 PM To: java-user@lucene.apache.org Subject: Re:

RE: QueryParser for DisjunctionMaxQuery, et al.

2013-07-23 Thread Beale, Jim (US-KOP)
Hi Jack, Thanks for the reply. My question is part of an investigation into ways to integrate SolrCloud with an existing and Lucene application with complex business rules. One approach that occurred to me was to construct the Lucene query in the usual way on the existing side and pass it to

Re: QueryParser for DisjunctionMaxQuery, et al.

2013-07-23 Thread Chris Hostetter
: Subject: QueryParser for DisjunctionMaxQuery, et al. : References: <1374578398714-4079673.p...@n3.nabble.com> : In-Reply-To: <1374578398714-4079673.p...@n3.nabble.com> https://people.apache.org/~hossman/#threadhijack Thread Hijacking on Mailing Lists When starting a new discussion on a mailing

[ANNOUNCE] Apache Lucene 4.4 released

2013-07-23 Thread Steve Rowe
July 2013, Apache Luceneā„¢ 4.4 available The Lucene PMC is pleased to announce the release of Apache Lucene 4.4 Apache Lucene is a high-performance, full-featured text search engine library written entirely in Java. It is a technology suitable for nearly any application that requires full-text sea

Re: QueryParser for DisjunctionMaxQuery, et al.

2013-07-23 Thread Jack Krupansky
I came up with some human-readable BNF rules for the Solr, dismax, and edismax query parsers. They are in my book. In fact they are linked from the "Solr Hot Spots" section in the preface. The main problems with re-parsing from a lucene Query structure are two-fold: 1. Terms have been analyz

QueryParser for DisjunctionMaxQuery, et al.

2013-07-23 Thread Beale, Jim (US-KOP)
Hello all, It seems somewhat odd to me that the Query classes generate strings that the QueryParser won't parse. Does anyone have a QueryParser that will parse the full range of Lucene query strings? Failing that, has the BNF been written down somewhere? I can't seem to find it for the full c

Tokenize String using Operators(Logical Operator, : operator etc)

2013-07-23 Thread dheerajjoshim
Greetings, I am looking a way to tokenize the String based on Logical operators Below String needs to be tokenized as *arg1:aaa,bbb AND arg2:ccc OR arg3:ddd,eee,fff* Token 1: arg1:aaa,bbb Token 2: arg2:ccc Token 3: arg3:ddd,eee,fff Later i want to fetch each token and tokenize them again