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

2006-01-03 Thread Lukas Vlcek
I use the following url: http://svn.apache.org/repos/asf/lucene/java/trunk and it works well for me. Lukas On 1/4/06, gekkokid <[EMAIL PROTECTED]> wrote: > if your using windows just download subversion from subversion.tigris.org > and install it - then just enter the command found on the lucene

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

2006-01-03 Thread Dave Kor
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 contiguous phrase, "white house" is a location and so on. I am see

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

2006-01-03 Thread gekkokid
if your using windows just download subversion from subversion.tigris.org and install it - then just enter the command found on the lucene homepage or wiki :) via the command input (i.e. cmd), pretty much the same for linux i guess _gk - Original Message - From: "Colin Young" <[EMAIL

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

2006-01-03 Thread Colin Young
Normally I wouldn't post this here, but I haven't been able to find any info about how I would go about downloading the latest source from the SVN repository. I've got a bit of experience with CVS, but I can't even figure out where to start with SVN. If anyone could point me in the right directio

RE: boosting results with a field from the index

2006-01-03 Thread Klaus Hubert
Wow, that was fast :-) Right, why haven't I came up with the idea on just sorting the results by importance... Lol... OK, I will test both solutions and see what I like best. Such a great piece for software... -Original Message- From: Grant Ingersoll [mailto:[EMAIL PROTECTED] Sent: Tues

Re: boosting results with a field from the index

2006-01-03 Thread Yonik Seeley
Take a look at FunctionQuery http://issues.apache.org/jira/browse/LUCENE-446 It can do relevancy+importance, but not relevancy*importance with the provided classes. It shouldn't be too hard to do the multiplication though. You could also boost the field or document at index time. That gives you

Re: boosting results with a field from the index

2006-01-03 Thread Grant Ingersoll
Hi Klaus, You might want to just set the boost value of the Document using your importance number, then Lucene will factor that in automatically when scoring. See the Document#setBoost javadoc for info. You could also sort on the field, I think, so that the more important docs come to the t

boosting results with a field from the index

2006-01-03 Thread Klaus Hubert
Hi and a Happy New Year! I created a lucene index with 2 fields (text and importance). The text contains the real text and importance is a field where I manually give a number between 1 and 5 for the related document. When I search the index I find the documents with the highest revelancy weig

RE: Switching default parsing for Or and AND

2006-01-03 Thread Steven Pannell
You can do this, for example: QueryParser queryParser = new QueryParser(defaultField, new StandardAnalyzer()); queryParser.setOperator(QueryParser.DEFAULT_OPERATOR_AND) -Original Message- From: Mike Streeton [mailto:[EMAIL PROTECTED] Sent: 03 January 2006 12:48 To: java-user

Re: Switching default parsing for Or and AND

2006-01-03 Thread Erik Hatcher
Mike, If you construct an instance of QueryParser you can set the default operator (see the javadocs). Important: be sure to construct an instance and use the *instance* parse method rather than the static .parse method! Erik On Jan 3, 2006, at 6:48 AM, Mike Streeton wrote: Is

Switching default parsing for Or and AND

2006-01-03 Thread Mike Streeton
Is there a way of altering the way lucene parses a default string to use AND instead of OR, e.g. usually "joe bloggs" is executed as "joe OR bloggs", is there a flag to change this to "joe AND bloggs" which seems to be the way most search engines work. Thanks Mike

Re: how to handle plurals

2006-01-03 Thread Erik Hatcher
On Jan 3, 2006, at 4:54 AM, Steven Pannell wrote: Does anyone know how I can handle plurals in lucene. If I search for dog and then dogs I get two different search results. I would like the same results regardless of the plural. Can this be done?? Yes, it can easily be done by using an

how to handle plurals

2006-01-03 Thread Steven Pannell
Hi, Does anyone know how I can handle plurals in lucene. If I search for dog and then dogs I get two different search results. I would like the same results regardless of the plural. Can this be done?? thanks, Steve. - To un