How to read bag of words from Lucene index

2016-05-28 Thread vitaly bulgakov
I use Lucene 3. How can I read content as a bag of words or similar which was indexed from a text file? The indexing is done in the following way: addFiles(new File(fileName)); int originalNumDocs = writer.numDocs(); for (File f : queue) {

Re: SolrCloud Shard console shows roughly same number of documents?

2016-05-28 Thread Siddhartha Singh Sandhu
Still struggling with this. Bump. :) On Thu, May 26, 2016 at 3:53 PM, Siddhartha Singh Sandhu < sandhus...@gmail.com> wrote: > Hi Erick, > > Thank you for the reply. What I meant was suppose I have the config: > > 2 shards each with 1 replica. > > Hence, on both servers I have > 1. shard1_replic

Re: Solr vs JDBC driver

2016-05-28 Thread Joel Bernstein
The driver is included in /META-INF/services/java.sql.Driver. So if you're using JDBC 4.0, the driver should be autoloaded. What version of java are you running? Joel Bernstein http://joelsolr.blogspot.com/ On Fri, May 27, 2016 at 8:16 PM, Vachon, Jean-Sébastien < jvac...@cebglobal.com> wrote:

[ANNOUNCE] Apache Solr 6.0.1 released

2016-05-28 Thread Steve Rowe
28 May 2016, Apache Solr™ 6.0.1 available The Lucene PMC is pleased to announce the release of Apache Solr 6.0.1 Solr is the popular, blazing fast, open source NoSQL search platform from the Apache Lucene project. Its major features include powerful full-text search, hit highlighting, faceted

Re: Can a DocTransformer access the whole results tree?

2016-05-28 Thread Stefan Matheis
Isn't that exactly what [explain] and [child] are doing? They locate whatever data they're working on alongside the document it's related to What Upayavira asks for looks the very same to me, doesn't it? -Stefan On May 27, 2016 7:27 PM, "Erick Erickson" wrote: > Maybe you'd be better off using