RE : java.lang.UnsupportedOperationException

2003-01-20 Thread Rasik Pandey
Doug, It is a attached. I added a WildCardQuery to the TestWildcard class with the Term text being "m*a*", it executes fine as a WildCardQuery, but when I wrap it in a BooleanQuery, I get the exception I sent previously. Let me know if I should enter a bug report? Thanks, Rasik -Message d'ori

Re: Index dir lock issue

2003-01-20 Thread mchaput
Otis Gospodnetic wrote: Look at the CHANGES.txt file, some changes dealing with lock files were made a while ago. Have you tried using that? I checked it out, but it's seems to be a global system property-- as I understand it, it would be only be useful if all indexes on any given machine are

cvs commit: jakarta-lucene/src/test/org/apache/lucene/search TestWildcard.java

2003-01-20 Thread cutting
cutting 2003/01/20 10:40:19 Modified:src/java/org/apache/lucene/search BooleanQuery.java Query.java src/test/org/apache/lucene/search TestWildcard.java Log: Fixed a bug when rewritten queries were included in a BooleanQuery. Revision Chang

Re: RE : java.lang.UnsupportedOperationException

2003-01-20 Thread Doug Cutting
Thanks for the test case. I just checked in a fix for this problem. Doug Rasik Pandey wrote: Doug, It is a attached. I added a WildCardQuery to the TestWildcard class with the Term text being "m*a*", it executes fine as a WildCardQuery, but when I wrap it in a BooleanQuery, I get the exception

cvs commit: jakarta-lucene/src/java/org/apache/lucene/search BooleanQuery.java

2003-01-20 Thread cutting
cutting 2003/01/20 11:01:31 Modified:src/java/org/apache/lucene/search BooleanQuery.java Log: Optimized last fix so that the BooleanQuery is only cloned when one of its clauses has rewritten. Revision ChangesPath 1.13 +15 -12 jakarta-lucene/src/java/org/apache/l