Re: Search result snippets?

2006-01-04 Thread Chris Hostetter
: Thanks for this tip! This should be in the FAQ. Is there a way to get it : in there? I can't edit the wiki, I think. 1) People who create a Wiki account can edit the FAQ. 2) the FAQ already includes a refrence to Highlighter, I think it's the FAQ entry you mentioned... http://wiki.apache.org/

Re: span / position increment issue

2006-01-04 Thread Chris Hostetter
: i have a problem with a SpanNearQuery returning incorrect (false : positive) results. I'm not familiar with how Span queries are implimented, but there doesn't appear to be any test cases dealing with an index where term position increments are ever 0, so i can neither confirm nor deny the bug

Re: Search result snippets?

2006-01-04 Thread Dan Frankowski
Thanks for this tip! This should be in the FAQ. Is there a way to get it in there? I can't edit the wiki, I think. Dan Otis Gospodnetic wrote: Look for the Highlighter in contrib/ to get this effect: http://www.lucenebook.com/search?query=highlighter+fragment Otis - Original Message --

Opening (and building) the lucene source in eclipse

2006-01-04 Thread Colin Young
So far I've succeeded in grabbing the latest source (and I can build with ant), but now I'm trying to open it in eclipse by creating a new "Java Project from Existing And Buildfile," but when I attempt to open build.xml, I get an alert telling me that the "Specified buildfile does not contain a jav

span / position increment issue

2006-01-04 Thread Marc Hadfield
hello all - i have a problem with a SpanNearQuery returning incorrect (false positive) results. I am creating the context of a field using tokens which have position increment set to either 1 or 0. The position increment is set to 0 for special tokens, in this case part-of-speech markers.

multi-field query parser with AND operator?

2006-01-04 Thread Bill Janssen
I've got a some code developed for Lucene 1.4.1, that works around the problem of having both (1) multiple default fields, and (2) the AND operator for query elements. In 1.4.1, MultiFieldQueryParser effectively only allowed the OR operator. I'm wondering if this has changed in 1.9. Will I be ab

Re: Lucene and geo queries

2006-01-04 Thread Otis Gospodnetic
Jeff, look at Nutch. I believe somebody contributed a piece of code that does this and documented it on the Wiki. Otis - Original Message From: Jeff Rodenburg <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Wed Jan 4 19:21:11 2006 Subject: Lucene and geo queries I'm very i

Re: Search result snippets?

2006-01-04 Thread Otis Gospodnetic
Look for the Highlighter in contrib/ to get this effect: http://www.lucenebook.com/search?query=highlighter+fragment Otis - Original Message From: Dan Frankowski <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Wed Jan 4 18:04:33 2006 Subject: Search result snippets? Folks,

Lucene and geo queries

2006-01-04 Thread Jeff Rodenburg
I'm very interested in incorporating smart geographic querying capabilities (distance calcs are just scratching the surface) into Lucene and came across this whitepaper: http://www.clef-campaign.org/2005/working_notes/workingnotes2005/leidner05.pdf Just curious, has anyone ventured down this path

Search result snippets?

2006-01-04 Thread Dan Frankowski
Folks, I'm a Lucene newbie, and I've been searching awhile today to answer this question. Googled, read Lucene FAQ, looked at Javadoc for Document and Hits, etc. How would you implement "snippets" with Lucene? A snippet is some text around parts of the text that caused a match, with the sear

Lucene and Regex - ?

2006-01-04 Thread Dmitry Goldenberg
Hi, Can someone provide a quick summary of the Regex capabilities in Lucene? I see there's a RegexQuery and a SpanRegexQuery - what are they intended for and how do I use them? Thanks, - Dmitry

RE: indexreader refresh

2006-01-04 Thread Ramana Jelda
Hi Amol, Yeah you should close reader to get updated index into effect. Regards, Jelda -Original Message- From: Amol Bhutada [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 04, 2006 4:21 PM To: java-user@lucene.apache.org Subject: indexreader refresh If I have a reader and searcher

RE: indexreader refresh

2006-01-04 Thread John Powers
Ya, you'll want to close and open your open searcher. I have the indexer create random directories to work in. then when the indexing is done it assigns the searcher a new location and fires off the "close/open" command to the searcher. -Original Message- From: Amol Bhutada [mailto:[E

indexreader refresh

2006-01-04 Thread Amol Bhutada
If I have a reader and searcher on a indexdata folder and another indexwriter writing documents to the same indexdata folder, do I need to close existing reader and searcher and create new so that newly indexed data comes into search effect? I have checked through google, got some pointers but

Re: Good representation for part-of-speech, chunk, sentence boundary tags?

2006-01-04 Thread Paul Elschot
On Wednesday 04 January 2006 14:14, Erik Hatcher wrote: > > On Jan 4, 2006, at 7:53 AM, Paul Elschot wrote: > > > On Wednesday 04 January 2006 07:34, Dave Kor wrote: > >> Hi, > >> ... > >> > >> These additional information will enable Lucene to perform > >> additional > >> post-processing on

Re: Good representation for part-of-speech, chunk, sentence boundary tags?

2006-01-04 Thread Grant Ingersoll
We tend to store this information externally in XML (or in a stored field), but that is probably more of an artifact of our other uses of the information outside of Lucene than any shortcoming in Lucene. A few of us on the list had some ideas on sentence boundary storage here: http://www.mail

Re: Good representation for part-of-speech, chunk, sentence boundary tags?

2006-01-04 Thread Erik Hatcher
On Jan 4, 2006, at 7:53 AM, Paul Elschot wrote: On Wednesday 04 January 2006 07:34, Dave Kor wrote: Hi, I would like to associate information (or labels) with each word or a range of words in a document. Information such as this word is a noun, that word is a verb, this period marks the

Re: Good representation for part-of-speech, chunk, sentence boundary tags?

2006-01-04 Thread Paul Elschot
On Wednesday 04 January 2006 07:34, Dave Kor wrote: > Hi, > > I would like to associate information (or labels) with each word or a > range of words in a document. Information such as this word is a noun, that > word is a verb, this period marks the end of a sentence, "kick the bucket" > is a co

RE: OT: how do I connect to the SVN repository to grab the latest source?

2006-01-04 Thread Colin Young
Thanks to everyone for the help. It appears to be working now. I probably should have mentioned that I already had TortoiseSVN installed, and was having trouble with finding the correct URL. I'm sure now when I go back to the Lucene home page it will be blindingly obvious... Thanks Colin Notice:

Re: OT: how do I connect to the SVN repository to grab the latest source?

2006-01-04 Thread Patrick Kimber
Hi Colin Did you get some help? Are you using Windows? If so, you can install TortoiseSVN which is a shell extension: http://tortoisesvn.tigris.org/ If you are using Windows or Linux you can use SmartSVN http://www.smartcvs.com/smartsvn/ The url for Lucene on SVN is: http://svn.apache.org/repos