Re: Lucene newbie in need of a hint

2014-08-14 Thread Sheng
At a side note, there is a race condition in your code: what if a search on the old reader is in progress while you call reader.close()? You need to call reader incref (should be tryincref, as you need to consider what if the reader is closed at the moment you call incref on it) and decref wheneve

Re: Lucene newbie in need of a hint

2014-08-14 Thread Michael McCandless
3.6 is quite old by now ... but that behavior (100s pause on reopen) is strange. Can you capture all Java threads during that time and post back? It looks like you're reopening the reader correctly, though be careful if you have in-flight searches running in other threads; use SearcherManager to

Re: Lucene newbie in need of a hint

2014-08-14 Thread parnab kumar
Have a look at this article if you have not already gone through it. http://blog.mikemccandless.com/2011/06/lucenes-near-real-time-search-is-fast.html On Thu, Aug 14, 2014 at 11:16 PM, Michael Jennings < mike.c.jenni...@gmail.com> wrote: > Hi everyone, > > I'm a bit of a Lucene newb, but a fairl

Lucene newbie in need of a hint

2014-08-14 Thread Michael Jennings
Hi everyone, I'm a bit of a Lucene newb, but a fairly experienced Java developer. Hope someone can give me some clues as to what I may be doing wrong. In essence I've got a lucene index built off of a database table that gets updated at a rate of about 1 row changing every 2 seconds or so. I've g

Re: Lucene Newbie Question

2013-12-08 Thread Michael Sokolov
On 12/8/2013 12:03 PM, Ted Goldstein wrote: I am new to Lucene and have begun experimenting. I've loaded both the example books.csv and the various example electronic components documents. I then do a variety of queries. Quering http://su2c-dev.ucsc.edu:8983/solr/select?q=name:A* returns bot

Re: Lucene Newbie Question

2013-12-08 Thread Furkan KAMACI
Does numFound different for that two queries or not? 8 Aralık 2013 Pazar tarihinde Ted Goldstein adlı kullanıcı şöyle yazdı: > I am new to Lucene and have begun experimenting. I've loaded both the example books.csv and the various example electronic components documents. I then do a variety of q

Lucene Newbie Question

2013-12-08 Thread Ted Goldstein
I am new to Lucene and have begun experimenting. I've loaded both the example books.csv and the various example electronic components documents. I then do a variety of queries. Quering http://su2c-dev.ucsc.edu:8983/solr/select?q=name:A* returns both book entries and electronic component en

Re: Lucene Newbie Questions

2010-05-31 Thread N Hira
ing. You should be able to "try both" side-by-side in a few hours (the tutorials are pretty decent). -h - Original Message From: Frank A To: java-user@lucene.apache.org Sent: Mon, May 31, 2010 6:54:26 PM Subject: Re: Lucene Newbie Questions Thanks a bunch. Since I'

Re: Lucene Newbie Questions

2010-05-31 Thread Shashi Kant
rg/solr/ >> >> >> Good luck! >> >> -h >> >> >> >> >> - Original Message >> From: Frank A >> To: java-user@lucene.apache.org >> Sent: Mon, May 31, 2010 6:20:41 PM >> Subject: Lucene Newbie Questions >

Re: Lucene Newbie Questions

2010-05-31 Thread Frank A
iginal Message > From: Frank A > To: java-user@lucene.apache.org > Sent: Mon, May 31, 2010 6:20:41 PM > Subject: Lucene Newbie Questions > > Hello all, > I'm considering Lucene for a specific application and am trying to ensure > that it is the right tool for what I&#

Re: Lucene Newbie Questions

2010-05-31 Thread N Hira
a lot of the architecture you might need: http://lucene.apache.org/solr/ Good luck! -h - Original Message From: Frank A To: java-user@lucene.apache.org Sent: Mon, May 31, 2010 6:20:41 PM Subject: Lucene Newbie Questions Hello all, I'm considering Lucene for a specific applic

Re: Lucene Newbie Questions

2010-05-31 Thread Shashi Kant
You are certainly in the right place - Apache Solr (a search server built using Lucene) provides what you are looking for out of the box. On Mon, May 31, 2010 at 7:20 PM, Frank A wrote: > Hello all, > I'm considering Lucene for a specific application and am trying to ensure > that it is the righ

Lucene Newbie Questions

2010-05-31 Thread Frank A
Hello all, I'm considering Lucene for a specific application and am trying to ensure that it is the right tool for what I'm trying to accomplish. At a high level I have a list of restaurants in a database and a list of tags related to the restaurant (e.g. Italian, Formal, Expensive, etc). Each re

Re: Lucene newbie

2007-07-19 Thread karl wettin
19 jul 2007 kl. 15.48 skrev Yom Chouloute: My time frame at this moment will not allow me so get the full grasp of that software so if anybody on that list would like to do some contract work you can contact me at Hi Yom, you can find human resources at this page:

Lucene newbie

2007-07-19 Thread Yom Chouloute
Hello All I am working on a couple of projects that require some search engine capabilities. I came across Lucene and I think that it might be good tool to incorporate into the project. I started implementing the software but got some error messages that prevent me from going further.

Re: lucene newbie question

2006-10-02 Thread Erick Erickson
ou can search unstored fields. You just can't reconstruct the input with 100% fidelity (things like stop words will be missing, and any funky games you played during indexing will mess up an attempt to reconstruct the data). Hope this helps. Erick -los >From: Erik Hatcher <[EMAIL

Re: lucene newbie question

2006-10-02 Thread Doron Cohen
type makes sense to me (with data being > a String), as well as the type "keyword". > > Is there a scenario or scenarios you can describe where Unindexed/Unstored > will be useful? Thanks in advanced! > > -los > > > >From: Erik Hatcher <[EMAIL PROTECTED]> &g

Re: lucene newbie question

2006-10-02 Thread Los Morales
MAIL PROTECTED]> Reply-To: java-user@lucene.apache.org To: java-user@lucene.apache.org Subject: Re: lucene newbie question Date: Mon, 2 Oct 2006 14:12:25 -0400 On Oct 2, 2006, at 2:08 PM, Los Morales wrote: I'm new to Lucene and IR in general. I'm a bit confused on the concept of fields. From

Re: lucene newbie question

2006-10-02 Thread Erik Hatcher
On Oct 2, 2006, at 2:08 PM, Los Morales wrote: I'm new to Lucene and IR in general. I'm a bit confused on the concept of fields. From what I've read, a field does not have to be indexed but its value can be stored in an index. Likewise a field can be indexed but its value is not stored i

lucene newbie question

2006-10-02 Thread Los Morales
Hi, I'm new to Lucene and IR in general. I'm a bit confused on the concept of fields. From what I've read, a field does not have to be indexed but its value can be stored in an index. Likewise a field can be indexed but its value is not stored in an index. Now how can a field be searchable