RAMDirectory or Redis

2018-12-02 Thread Joe MA
Greetings, Has anyone looked into using Redis or some other in-memory cache with Lucene? It seems that ElasticSearch may do this. Are there advantages to doing this versus, say, the RAMDirectory class? Thanks in advance, J

Not-indexed, Stored Thumbnails or NoSQL?

2018-12-02 Thread Joe MA
Greetings, I have an index where I import documents such as powerpoint, PDF, and so forth. One nice feature I added is that for each document, I store a thumbnail of the first page as an encoded String (uuencode) using a stored,not-indexed field. This thumbnail gets displayed when the user fi

Best way to search by pages

2016-11-26 Thread Joe MA
Greetings, I am trying to use Lucene to search large documents, and return the pages where a term(s) is matched. For example, say I am indexing 500 auto manuals, each with around 1000 pages each. So if the user searched for "Taurus" and "flat" and "tire", a good result could be "2006 Ford Ta

RE: No subsearcher in Lucene 3.3?

2011-08-31 Thread Joe MA
> -Original Message- > From: Devon H. O'Dell [mailto:devon.od...@gmail.com] > Sent: Tuesday, August 30, 2011 8:04 PM > To: java-user@lucene.apache.org > Subject: Re: No subsearcher in Lucene 3.3? > > 2011/8/30 Joe MA : > > When searching a single collection, no proble

RE: No subsearcher in Lucene 3.3?

2011-08-30 Thread Joe MA
Thanks for the replies. Here is why I need the subreader (or subsearcher in earlier Lucene versions): I have multiple collections of documents, say broken out by years (it's more complex than this, but this illustrates the use case): Collection1 >>> D:/some folder/2009/*.pdf