Re: all stop words in exact phrase get 0 hits

2005-12-15 Thread dblanch
With the '+' prefix you are saying that both clauses must be true, so looking for stopwords will return false since it won't find any match. Regards, Daniel -javier muguruza <[EMAIL PROTECTED]> escribió: - Para: Lucene Users List De: javier muguruza <[EMAIL PROTECTED]> Fecha: 15/1

Re: Lucene and DB interactions

2005-11-29 Thread dblanch
I would start reading 'I love Lucene' article on The Server Side. Regards, Daniel Blanch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: there are more terms than documents in field

2005-11-23 Thread dblanch
I think you are doing it right. Fields used for sorting must be Keyword type. See you are not adding the Field more than once for the same Document. -"Taylor, BE \(Beverley\)" <[EMAIL PROTECTED]> escribió: - Para: De: "Taylor, BE \(Beverley\)" <[EMAIL PROTECTED]> Fecha: 23/11/2005

Re: Search Struts

2005-11-23 Thread dblanch
I'm not sure I've understand you. If you want to point to tiles definitions you have to define tem in s or a s element in struts-config.xml, as usual. If you want your app to dinamicaly create tiles definitions you'll have to write a Tiles Controller. See http://www.lifl.fr/~dumoulin/tiles/

Re: Re: Field Boosting

2005-11-17 Thread dblanch
I have a similar problem, I have boosted documents in an index, when I run a query it shows boosted documents first, but when I loop the Documents through the Hits class, this is: Document doc = hits.doc(i); System.out.println("Query scoring: " + formatter.format(hits.score(i))); //never h

boosting querys closer to the current date

2005-11-16 Thread dblanch
Providing that I have indexed documents with the following fields: Keyword: lastmodifiedDate Unstored: contents And that I run a simple query only using just the contents field. Is there anyway to change the way Lucene presents results, so documents with a high score and lastmodifiedDa