Corrupt index?

2005-07-19 Thread Kipping, Peter
Hi, I rebuilt my index with only a few minor changes, and now when I search on it I get nothing but out of memory exceptions. I don't know what would cause this but is there a way you can test the integrity of your index? Thanks, Peter

QueryParser and Special Characters

2005-05-09 Thread Kipping, Peter
The documentation tells us to escape special characters by using the \ Example: \(1\+1\) However if we put this in a string String query = "\(1\+1\)"; Then the java compiler throws an Invalid Escape Sequence error. QueryParser doesn't seem to recognize the double backslash. Is there a workaro

RE: FilteredQuery and Boolean AND

2005-04-27 Thread Kipping, Peter
t would help to clarify wether the problem is genuinely "Fixed", or if the test case i created was just a lucky abnormality. http://issues.apache.org/bugzilla/show_bug.cgi?id=34279 -Hoss -Original Message- From: Kipping, Peter [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2

RE: FilteredQuery and Boolean AND

2005-04-04 Thread Kipping, Peter
ND : : Peter, : : Could you provide a straight-forward test case that indexes a few : documents into a RAMDirectory and demonstrates the problem you're : having with AND'd FilteredQuery's? : : Give me something concrete and simple and I'll dig into it further. : : Erik : : On

RE: FilteredQuery and Boolean AND

2005-04-01 Thread Kipping, Peter
the book only has one filtered query, but what if you made them both filtered queries and ANDed them? Thanks, Peter -Original Message- From: Kipping, Peter [mailto:[EMAIL PROTECTED] Sent: Friday, March 25, 2005 10:34 AM To: java-user@lucene.apache.org Subject: FilteredQuery and Boolean AND

FilteredQuery and Boolean AND

2005-03-25 Thread Kipping, Peter
I have the following query structure: BooleanQuery q2 = new BooleanQuery(); TermQuery tq = new TermQuery(new Term("all_entries", "y")); FilteredQuery fq = new FilteredQuery(tq, ft); FilteredQuery fq2 = new FilteredQuery(tq, ft2); q2.add(fq, false, false); q2.add(fq2, false, false); The two filter