You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Houston Putman <ho...@gmail.com> on 2013/06/25 17:37:43 UTC

Suppressing Codecs

In my testing code, how do I suppress all codecs that do not support
SortedSet docvalues?

This is the code I am using now :
@SuppressCodecs({"Lucene3x","Lucene41","Lucene40"})

However I get this error occasionally:
org.apache.solr.common.SolrException:
java.lang.UnsupportedOperationException: Lucene 4.0


-Houston Putman

Re: Suppressing Codecs

Posted by Houston Putman <ho...@gmail.com>.
Fixed, thanks.


On Tue, Jun 25, 2013 at 11:45 AM, Robert Muir <rc...@gmail.com> wrote:

> I think you also need to suppress "Appending".
>
>
> On Tue, Jun 25, 2013 at 11:37 AM, Houston Putman <ho...@gmail.com>wrote:
>
>> In my testing code, how do I suppress all codecs that do not support
>> SortedSet docvalues?
>>
>> This is the code I am using now :
>> @SuppressCodecs({"Lucene3x","Lucene41","Lucene40"})
>>
>> However I get this error occasionally:
>> org.apache.solr.common.SolrException:
>> java.lang.UnsupportedOperationException: Lucene 4.0
>>
>>
>> -Houston Putman
>>
>
>

Re: Suppressing Codecs

Posted by Robert Muir <rc...@gmail.com>.
I think you also need to suppress "Appending".

On Tue, Jun 25, 2013 at 11:37 AM, Houston Putman <ho...@gmail.com>wrote:

> In my testing code, how do I suppress all codecs that do not support
> SortedSet docvalues?
>
> This is the code I am using now :
> @SuppressCodecs({"Lucene3x","Lucene41","Lucene40"})
>
> However I get this error occasionally:
> org.apache.solr.common.SolrException:
> java.lang.UnsupportedOperationException: Lucene 4.0
>
>
> -Houston Putman
>