Re: Help with custom sorting - ignoring case on string fields.

2005-07-06 Thread ian parkin
Thanks for the reply. I actually implemented what you suggested - storing lower case fields - earlier today and it works quite nicely. I'll certainly review my use of the Field.Text. IAP --- Erik Hatcher <[EMAIL PROTECTED]> wrote: > Ian - I'll look into this issue in more detail as soon as I

Re: Help with custom sorting - ignoring case on string fields.

2005-07-06 Thread Erik Hatcher
Ian - I'll look into this issue in more detail as soon as I can, but one reasonable approach is to add a special field designed for sorting that has all case normalized to either all upper or all lower such that sorting is case insensitive. Note that Field.Text is not a good choice for sor

Re: n-Field search w/PhraseQuery

2005-07-06 Thread Yousef Ourabi
Thanks for the reply, clears things up, have to use boolean query. Thank! On 7/6/05, Erik Hatcher <[EMAIL PROTECTED]> wrote: > > On Jul 6, 2005, at 3:01 PM, Yousef Ourabi wrote: > > > Quick question on the proper-way of searching multiple fields for > > phrases? > > > > Would I do this: > > Bool

Re: n-Field search w/PhraseQuery

2005-07-06 Thread Erik Hatcher
On Jul 6, 2005, at 3:01 PM, Yousef Ourabi wrote: Quick question on the proper-way of searching multiple fields for phrases? Would I do this: BooleanQuery titleOrContent = new BooleanQuery(); PhraseQuery titlePhraseSearch = new PhraseQuery(); (add filed x, and term 1, 2) PhraseQuery content

RE: OUTOFMEMORY ERROR

2005-07-06 Thread Tony Schwartz
Yes, you need to use a single searcher instead of creating one each time. Tony Schwartz [EMAIL PROTECTED] "We're going to need a lot more cowbell." -Original Message- From: MariLuz Elola [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 06, 2005 1:26 PM To: java-user@lucene.apache.org Subj

n-Field search w/PhraseQuery

2005-07-06 Thread Yousef Ourabi
Quick question on the proper-way of searching multiple fields for phrases? Would I do this: BooleanQuery titleOrContent = new BooleanQuery(); PhraseQuery titlePhraseSearch = new PhraseQuery(); (add filed x, and term 1, 2) PhraseQuery contentPhraseSearch = new PhraseQuery(); (add field y, and term

Help with custom sorting - ignoring case on string fields.

2005-07-06 Thread ian parkin
Hello Folks, Previously, I was using version 1.3 of Lucene that had no complex sorting abilities, so I wrote my own code to do this using a TreeMap and Comparator. The sorting was basically lower case comparisons of strings with a few extra little tweaks here and there. This past weekend I upgrad

OUTOFMEMORY ERROR

2005-07-06 Thread MariLuz Elola
Hi, I have a problem when I am trying to search a simple query without sorting into an index with 210.000 documents. Executing the query several times I am getting the OutOfMemory error. I am creating an IndexSearcher(pathDir) every search. I don“t know if it will be necessary to create only one

Boosting SpanQueries

2005-07-06 Thread Dave Kor
I was just wondering, if I set the boost factor in SpanQueries such as the SpanNearQuery or SpanOrQuery, does it get used? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: no results for date field

2005-07-06 Thread Erik Hatcher
On Jul 6, 2005, at 11:29 AM, Leos Literak wrote: I've added to index date field: public Field setCreated(Date date) { Field field = Field.Keyword(CREATED, date); document.add(field); return field; } Now I try to search according to documentation: created:[20040

Re: lucene logo

2005-07-06 Thread Erik Hatcher
On Jul 6, 2005, at 11:50 AM, Leos Literak wrote: Thanks, that is, what I needed. See http://www.abclinuxu.cz/Search?query= Could you please add www.abclinuxu.cz to Powered by page? Add it yourself - it's now on the user maintained wiki :) Erik --

Re: lucene logo

2005-07-06 Thread Leos Literak
Erik Hatcher wrote: There are a few different sizes here: http://svn.apache.org/repos/asf/lucene/java/trunk/docs/images/ Thanks, that is, what I needed. See http://www.abclinuxu.cz/Search?query= Could you please add www.abclinuxu.cz to Powered by page? Thanks Leos -

no results for date field

2005-07-06 Thread Leos Literak
Hi, I've added to index date field: public Field setCreated(Date date) { Field field = Field.Keyword(CREATED, date); document.add(field); return field; } Now I try to search according to documentation: created:[20040101 TO 20050707] But there is no hit. Using l

Re: lucene logo

2005-07-06 Thread Daniel Naber
On Wednesday 06 July 2005 11:21, Leos Literak wrote: > I'd like to put lucene logo plus link to my search > page, but logo on Lucene website is too big. Does > any one has some smaller one? Max 100 pixels wide? Here's one (lower right corner): http://www.intrafind.org/iFinder-WebApp/index-dpa.jsp

Re: lucene logo

2005-07-06 Thread Erik Hatcher
On Jul 6, 2005, at 5:21 AM, Leos Literak wrote: I'd like to put lucene logo plus link to my search page, but logo on Lucene website is too big. Does any one has some smaller one? Max 100 pixels wide? There are a few different sizes here: http://svn.apache.org/repos/asf/lucene/java/trunk/d

Re: lucene logo

2005-07-06 Thread Alan Hicks
Hi, Just resized the logo lucene from apaceh.org to 100 x 15. Its attached. Alan. On Wed, 06 Jul 2005 10:21:43 +0100, Leos Literak <[EMAIL PROTECTED]> wrote: Hi, I'd like to put lucene logo plus link to my search page, but logo on Lucene website is too big. Does any one has some smalle

lucene logo

2005-07-06 Thread Leos Literak
Hi, I'd like to put lucene logo plus link to my search page, but logo on Lucene website is too big. Does any one has some smaller one? Max 100 pixels wide? Thanks Leos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona