lucene matchalldocsquery

2012-04-05 Thread jianwen lou
I use  QueryParser parser = new QueryParser(Version.LUCENE_32, "title",   analyzer); i get results back.but when i change to MatchAllDocsQuery i get 0 result. I missed something in my code? I google and search the mailing list,it seems many users are confused with MatchAllDocsQuery,Some advice? tha

can not store field when field store.yes,index.no

2012-04-05 Thread jianwen lou
I use lucene 3.5 in my app.I set a field Store.YES,INDEX.NO. I look for the stored filed value via luke3.5,I do not see the stored field value.But set the field Store.YES,Index.NOT_ANALYZED, i get the stored field value, that's why? thanks -- * *twitter.com/loujianwen

Re: NumericField exception java.lang.IllegalStateException: call set???Value() before usage in lucene 3.5

2012-03-27 Thread jianwen lou
thanks so much,Brandon Mintern.My mistak,sorry for everyone. On Wed, Mar 28, 2012 at 3:12 AM, Brandon Mintern wrote: > On Tue, Mar 27, 2012 at 12:21 AM, jianwen lou wrote: > > I want to store the long type value to my index files like follwing: > > > >Nu

Re: NumericField exception java.lang.IllegalStateException: call set???Value() before usage in lucene 3.5

2012-03-27 Thread jianwen lou
to > the > one you actually use? > > - > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: u...@thetaphi.de > > > > -----Original Message- > > From: jianwen lou [mailto:loujan...@gmail.com] > > Sent: Tuesday, M

Re: NumericField exception java.lang.IllegalStateException: call set???Value() before usage in lucene 3.5

2012-03-27 Thread jianwen lou
I am not exactly understand the precisionStep arg,I need to add the arg? On Tue, Mar 27, 2012 at 3:48 PM, jianwen lou wrote: > No,There is no multi-thread building index at same time, > I google and get the result, i use 64 bit jvm. It matters? > > > http://lucene.472066.n3.nabb

Re: NumericField exception java.lang.IllegalStateException: call set???Value() before usage in lucene 3.5

2012-03-27 Thread jianwen lou
cross > different threads? > > - > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: u...@thetaphi.de > > > > -Original Message- > > From: jianwen lou [mailto:loujan...@gmail.com] > > Sent: Tuesday, March 27, 2012

facet vs group search

2012-02-27 Thread jianwen lou
What is the difference between faceted search and group search? I read the wikipedia page:http://en.wikipedia.org/wiki/Faceted_search and here is a project named bobo-browse that implements faceted search,any explanation for details? thanks -- * *twitter.com/loujianwen