Highlighter error with Lucene 6

2016-06-29 Thread Anna Berruezo
Hi, I have the following code: *QueryScorer scorer = new QueryScorer(query, "context");* *Highlighter highlighter = new Highlighter(scorer);* *String fragment = highlighter.getBestFragment(new StandardAnalyzer(), "content", hDoc.getContent());* but I get the following error since I've switched t

Lucene facet search is causing issue in application

2016-06-29 Thread Biltu Samanta (bilsaman)
Hi All, If a search is made from lucene facet(taxonomy search) , while taxonomy indexing is in progress the application is getting blocked no further is indexing is happening. My application is multithreaded. Kindly reply to this mail, Thanks, Biltu

Re: Lucene facet search is causing issue in application

2016-06-29 Thread Michael McCandless
Hmm, this should not be the case: both TaxonomyIndexWriter and IndexWriter let you index new documents completely concurrently with near-real-time readers searching their already point-in-time snapshots. Can you give some more specifics about how you are indexing and searching facets, and where sp

In Pylucene using Apache Tika, with jnius.

2016-06-29 Thread Antony
Hi all, When i run this Apache tika with jnius sample code, it works. import os os.environ['CLASSPATH'] = "tika-app-1.7.jar" from jnius import autoclass ## Import the Java classes we are going to need Tika = autoclass('org.apache.tika.Tika') Metadata = autoclass('org.apache.tika.metadata.Metadat

Lucene facet search is causing issue in application

2016-06-29 Thread Biltu Samanta
Hi All, If a search is made from lucene facet(taxonomy search) , while taxonomy indexing is in progress the application is getting blocked no further is indexing is happening. My application is multithreaded. Kindly reply to this mail, Thanks, Biltu