Re: DiskDocValuesFormat

2013-04-14 Thread Wei Wang
/maven-shade- > > >> > plugin/examples/resource-t > > >> > > ransformers.html#ServicesResourceTransformer > > >> > > > > >> > > The problem is: lucene-core.jar and lucene-codecs.jar both contain > > >> > > codec compon

Re: DiskDocValuesFormat

2013-04-14 Thread Robert Muir
> If > >> > > those files are not correctly merged through this resource > >> > > transformer, the resulting JAR file will miss some codecs. > >> > > > >> > > You can check correctness by opening the final JAR file with a ZIP

Re: DiskDocValuesFormat

2013-04-14 Thread Wei Wang
JAR file with a ZIP >> > > program and check that all files in META-INF/services contain all >> > > entries merged from all Lucene JARs. >> > > >> > > Uwe >> > > >> > > - >> > > Uwe Schindler >> > >

Re: DiskDocValuesFormat

2013-04-14 Thread Wei Wang
JAR file with a ZIP > > > program and check that all files in META-INF/services contain all > > > entries merged from all Lucene JARs. > > > > > > Uwe > > > > > > - > > > Uwe Schindler > > > H.-H.-Meier-Allee 63, D-28213 Brem

RE: DiskDocValuesFormat

2013-04-14 Thread Uwe Schindler
ARs. > > > > Uwe > > > > - > > Uwe Schindler > > H.-H.-Meier-Allee 63, D-28213 Bremen > > http://www.thetaphi.de > > eMail: u...@thetaphi.de > > > > > > > -Original Message- > > > From: Wei Wang [mailto:welshw...@gmail.com] &g

Re: DiskDocValuesFormat

2013-04-14 Thread Wei Wang
inal Message- > > From: Wei Wang [mailto:welshw...@gmail.com] > > Sent: Sunday, April 14, 2013 11:49 PM > > To: java-user@lucene.apache.org > > Subject: Re: DiskDocValuesFormat > > > > Yes, I used Maven Shade plugin, but still have this problem. Here is the

RE: DiskDocValuesFormat

2013-04-14 Thread Uwe Schindler
e.apache.org > Subject: Re: DiskDocValuesFormat > > Yes, I used Maven Shade plugin, but still have this problem. Here is the > Maven output during packaging: > > [INFO] --- maven-shade-plugin:2.0:shade (default) @ audience-profile- > indexer --- [INFO] Including commons-collections:co

Re: DiskDocValuesFormat

2013-04-14 Thread Wei Wang
3, D-28213 Bremen > http://www.thetaphi.de > eMail: u...@thetaphi.de > > > > -Original Message- > > From: Wei Wang [mailto:welshw...@gmail.com] > > Sent: Sunday, April 14, 2013 11:30 PM > > To: java-user@lucene.apache.org > > Subject: Re: DiskDocValuesFormat >

RE: DiskDocValuesFormat

2013-04-14 Thread Uwe Schindler
://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Wei Wang [mailto:welshw...@gmail.com] > Sent: Sunday, April 14, 2013 11:30 PM > To: java-user@lucene.apache.org > Subject: Re: DiskDocValuesFormat > > Hi Adrien, > > The Lucene42Codec works well

Re: DiskDocValuesFormat

2013-04-14 Thread Wei Wang
Hi Adrien, The Lucene42Codec works well to generate the index with DiskDocValuesFormat. But when I tried to merge the index segments by calling: IndexWriter iw = new IndexWriter(directory, iw_config); ... iw.forceMerge(1); I got the following error message: Caused by: java.lang.IllegalArgumentE

Re: DiskDocValuesFormat

2013-04-13 Thread Wei Wang
Hi Adrien, Thanks for your example. Really helpful! Wei On Sat, Apr 13, 2013 at 4:25 AM, Adrien Grand wrote: > Hi Wei, > > On Sat, Apr 13, 2013 at 7:44 AM, Wei Wang wrote: > > I am trying to use DiskDocValuesFormat for a particular > > BinaryDocValuesField. It seems there is no good examples

Re: DiskDocValuesFormat

2013-04-13 Thread Adrien Grand
Hi Wei, On Sat, Apr 13, 2013 at 7:44 AM, Wei Wang wrote: > I am trying to use DiskDocValuesFormat for a particular > BinaryDocValuesField. It seems there is no good examples showing how to do > this. The only hint I got from various docs and forums is set some codec in > IndexWriter. Could someon