[ERR] Only a type can be imported

2009-12-06 Thread Ghazal Gharooni
Hello, I am new in lucene project. I got the following error while trying to run the project and test Search Criteria (results.jsp) . I added all jar files to class path. I notified that QueryParser accept three argument while the code only includes two arguments. So, I've changed the qp = new Quer

Re: [ERR] Only a type can be imported

2009-12-07 Thread Ghazal Gharooni
nd double check that you don't have any old lucene jars anywhere else. > > > -- > Ian. > > > On Sun, Dec 6, 2009 at 6:13 PM, Ghazal Gharooni > wrote: > > Hello, > > I am new in lucene project. I got the following error while trying to run > > the pro

Re: Regex Help

2009-12-15 Thread Ghazal Gharooni
Hello, Why don't you use String Tokenizer for splitting the result? On Tue, Dec 15, 2009 at 9:45 PM, Weiwei Wang wrote: > I want to split this parsed result string: name:"zhong guo" name:friend > server:172.16.65.79 > > into > > name:"zhong guo" > name:friend > server:172.16.65.79 > > how can I

Re: Regex Help

2009-12-16 Thread Ghazal Gharooni
9 at 11:04 PM, Weiwei Wang wrote: > Same reason, i do not know which delimiter regex to use:-( > > On Wed, Dec 16, 2009 at 3:02 PM, Ghazal Gharooni > wrote: > >> Hello, >> Why don't you use String Tokenizer for splitting the result? >> >> >> On Tue, D