RE: New PhrasePrefixQuery.java

2002-11-20 Thread Anders Nielsen
s highlighting code and interface with the QueryParser.jj onto this. Best Regards, Anders Nielsen -Original Message- From: Konrad Scherer To: Lucene Developers List Sent: 20-11-2002 20:46 Subject: Re: New PhrasePrefixQuery.java > >I don't like extending Term. An instance

RE: PhrasePrefixQuery.java and MultipleTermPositions.java

2002-05-15 Thread Anders Nielsen
Here's an updated version of MultipleTermPositions.java. In this version next() uses adjustTop() instead of pop()-push() as per Doug's suggestion. And instead of a SortedSet for keeping positions, it keeps them in a class that reuses an int[]. regards, Ande

RE: PhrasePrefixQuery.java and MultipleTermPositions.java

2002-05-15 Thread Anders Nielsen
'll make that chance asap. regards, Anders Nielsen -Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 15-05-2002 19:49 Subject: RE: PhrasePrefixQuery.java and MultipleTermPositions.java This looks great! The MultipleTermPositions implementation could be made more

PhrasePrefixQuery.java and MultipleTermPositions.java

2002-05-15 Thread Anders Nielsen
erm[]) which could return a MultipleTermPositions-object. But for now the constructor takes an IndexReader and an array of Terms. Also, to fully integrate this into Lucene, code would have to be added to QueryParser that handles queries of this type. regards, Anders Nielsen package org.ap

PhraseQuery with prefix-ending

2002-05-14 Thread Anders Nielsen
asn't very efficient. Now I've implemented a solution that follows what Doug outlined which turns out to be quite efficient, and I'd be happy to share it. I'm just unsure of the protocol here, do I just attach it to a mail to the lucene-dev list or is there a patch maintainer? regards

RE: PhrasePrefixQuery

2001-10-31 Thread Anders Nielsen
that'd be very nice. -Original Message- From: Doug Cutting [mailto:[EMAIL PROTECTED]] Sent: 31. oktober 2001 23:37 To: 'Lucene Developers List' Subject: RE: PhrasePrefixQuery > From: Anders Nielsen [mailto:[EMAIL PROTECTED]] > > I would like to be able to make

PhrasePrefixQuery

2001-10-31 Thread Anders Nielsen
ave made a PhrasePrefixQuery Class, before I start making one myself. Regards, Anders Nielsen -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

RE: Token retrieval question

2001-10-12 Thread Anders Nielsen
r but without the stemming on the stored text field, and take the nth term from that? The only trouble I can see with that is if the stemmer either skips terms or makes two terms into one. regards, Anders Nielsen -Original Message- From: Alex Murzaku [mailto:[EMAIL PROTECTED]] Sent: 12. ok

RE: Null pointer error when searching with DateFilter

2001-10-11 Thread Anders Nielsen
Should I ever find a suitable woman (blind or drunk), our first offspring shall proudly bear the name Scott.. In other words: thanks regards, Anders Nielsen -Original Message- From: Scott Ganyo [mailto:[EMAIL PROTECTED]] Sent: 11. oktober 2001 17:07 To: '[EMAIL PROTECTED]' S

Null pointer error when searching with DateFilter

2001-10-11 Thread Anders Nielsen
is an object of type Calendar, and I make the search by calling search(Query, Filter) on an IndexSearcher object: return _indexSearcher.search(query, searchFilter); where query is an object of type Query, and searchFilter is of type DateFilter. Venlig hilsen Anders N