RE: QueryParser.parse() and Lucene1.4.1

2004-09-17 Thread Polina Litvak
-Original Message- From: Morus Walter [mailto:[EMAIL PROTECTED] Sent: September 17, 2004 2:31 AM To: Lucene Users List Subject: RE: QueryParser.parse() and Lucene1.4.1 Polina Litvak writes: Hi Daniel, I just downloaded the latest version of Lucene and tried the whole thing again: I ran my code

RE: QueryParser.parse() and Lucene1.4.1

2004-09-16 Thread Polina Litvak
() and Lucene1.4.1 On Wednesday 15 September 2004 21:58, Polina Litvak wrote: Does anyone know how to work around this new feature ? I can't remember any changes in this area, but I just tried with the current version from CVS and the output is the one which you want. Regards Daniel -- http

QueryParser.parse() and Lucene1.4.1

2004-09-15 Thread Polina Litvak
I have a question regarding QueryParser and lucene-1.4.1.jar: When using lucene-1.3-final.jar, a query of the form: Field:(A AND -(B)) was parsed into +Field:A -Field:B (using QueryParser.parse()). After making the switch to lucene-1.4.1.jar, the same query is being parsed into Field:A Field:-

NullAnalyzer still tokenizes fields

2004-07-09 Thread Polina Litvak
I tried to create my own analyzer so it returns fields as they are (without any tokenizing done), using code posted on lucene-user a short while a go: private static class NullAnalyzer extends Analyzer { public TokenStream tokenStream(String fieldName, Reader reader) {

RE: Problem with match on a non tokenized field.

2004-07-09 Thread Polina Litvak
Message- From: Polina Litvak [mailto:[EMAIL PROTECTED] Sent: Thursday, July 08, 2004 10:19 AM To: 'Lucene Users List' Subject: RE: Problem with match on a non tokenized field. Thanks a lot for your help. I have one more question: How would you handle a query consisting of two fields combined

RE: Problem with match on a non tokenized field.

2004-07-08 Thread Polina Litvak
, analyzer); -Original Message- From: Polina Litvak [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 07, 2004 4:20 PM To: [EMAIL PROTECTED] Subject: Problem with match on a non tokenized field. I have a Lucene Document with a field named Code which is stored and indexed but not tokenized

RE: how to get all terms as search results (or * equivalent)

2004-06-28 Thread Polina Litvak
it on your own to have something clean. Franck Polina Litvak wrote: Since it is not allowed to use * or ? symbols as the first character of a search, I tried the following query as an alternative: Field_1: ([a* TO z*] OR [A* TO Z*] OR [0* TO 9*]) but the QueryParser complains saying