min/max values of numeric facets

2014-09-25 Thread Jigar Shah
Hello Lucene group, *Taxonomy facet Indexing code:* Document doc=... Set facets=...; for(int i =0; i < ... ; i++) { long wordCount = ... NumericDocValuesField nf = new NumericDocValuesField(queryName, wordCount); facets.add(nf); } doc.add(facets); FacetsConfig config=... trackingIndex

Issues with lucene 4.10.0 on android

2014-09-25 Thread David Linde
Hi, Background: My company has built an Android application that utilizes Lucene 4.7.0 to index and search upon a fairly static set of about 100,000 documents. We have used numerous versions of Lucene over the years, and they have all worked well to accomplish this purpose. Issue: Upon upgrading

Re: Can lucene index tokenized files?

2014-09-25 Thread Sachin Kulkarni
Hi, I hope I can continue this question further. I was able to index the tokenized data into lucene as pointed out by Uwe and Erick. I see bunch of files getting created in my index folder. But now as an initial test when I do queries on the index I get no document matching the queries. I have a r

Upgrading an index with a custom codec

2014-09-25 Thread Michael Poindexter
I have an index that was created in 4.5.1 using a custom Codec (actually just the Lucene45Codec codec with the getPostingsFormatForField method overridden to return a MemoryPostingsFormat for a particular field). I attempted to upgrade using IndexUpgrader to a 4.8.1 index, and it failed with a Cor

RE: getting exception while deploying on axis 2

2014-09-25 Thread Uwe Schindler
Hi, This may be related to packaging as "aar" file - never heard about that before. It looks like this is a JAR file containing all the service classes (including Lucene), so this looks like what I explained as "uber-jar". All JAR files seem to get unpacked and then again packed together as an

Re: getting exception while deploying on axis 2

2014-09-25 Thread Rajendra Rao
Hello Uwe, My project Is java project built in eclipse and I added following Jars related to lucene in class path : lucene-analyzers-common-4.1.0.jar lucene-core-4.1.0.jar lucene-grouping-4.1.0.jar lucene-join-4.1.0.jar lucene-queries-4.1.0.jar lucene-queryparser-4.1.0.jar We are using this pro

RE: getting exception while deploying on axis 2

2014-09-25 Thread Uwe Schindler
Hi, without any information about how the project is built, I cannot help. The *official* JAR files are those extracted from the release tarball or those that were downloaded from Maven Central. Those JAR files contain some additional metadata which informs Lucene about available codecs, so you

Re: getting exception while deploying on axis 2

2014-09-25 Thread Priyanka Tufchi
thanks Uwe for your reply, Can you explain what you mean by *original* JAR files of Lucene. And if I did not use original Jar, from where i can get it? As my project is java project and i have no idea how to use maven .Can you give some idea how to add and use maven shade plugin in my project a