Seraching in Keyword Field

2004-09-29 Thread Rosen Marinov
Hi all, I have a Keyword field in my Lucene docs. And i am tring to execure some queries on this field. 1. MyKeywordField:([ABC TO ABC]) - this query is OK and returns expecting result 2. MyKeywordField:(ABC) - but this returning nothing I am using SimpleAnalyzer - is the problem in

change directory

2004-05-03 Thread Rosen Marinov
Hi all, I have a good working index about 3 GB in one directory for example in c:/index1 now i want to change the computer and directory for example to d:/index2(is this possible ???) and when i copy it to the new pc and directory on IndeaxReader(indexpath) i get

escaping characters

2004-04-21 Thread Rosen Marinov
Hi all, I am usung folowing query to find exact match document with title: Abramovich says Chelsea win showed Russian character . In both cases with/without escaping character, and all others form http://jakarta.apache.org/lucene/docs/queryparsersyntax.html i recieve these exceptions: CASE 1

Re: query

2004-04-21 Thread Rosen Marinov
Short answer: it depends. Questions for you to answer: What field type and analyzer did you use during indexing? What analyzer used with QueryParser? What does the generated Query.toString return? in both cases SimpleAnalyzer QueryParser.parse(\abc\) throws an exception and i can't see

Search in all fields

2004-03-16 Thread Rosen Marinov
In QueryParser.parse method I must give which is the default field. Does this means ttah non-adressed queris are executed only over this field? The main question is: How I can search in all fields in all documents in the index? Note that I don't know field names, there can be thousands field

Re: Too many open files?

2002-07-23 Thread Rosen Marinov
just close your Searcher after finishing work - Original Message - From: Hang Li [EMAIL PROTECTED] To: Lucene Users List [EMAIL PROTECTED] Sent: Tuesday, July 23, 2002 5:59 PM Subject: Too many open files? I have seen a lot postings about this topic. Any final thoughts? We did a

Re: How to Delete documet with Term wich text is a number or string+number?

2002-04-16 Thread Rosen Marinov
: RE: How to Delete documet with Term wich text is a number or string+number? Which analyzer do you use? I think your analyzer filters out numbers peter -Original Message- From: Rosen Marinov [mailto:[EMAIL PROTECTED]] Sent: Monday, April 16, 2001 6:25 PM To: [EMAIL PROTECTED