lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Cline (JIRA)" <>
Subject [jira] Created: (SOLR-2380) Problem when using facet.offset with facet.sort=lex and shards
Date Thu, 24 Feb 2011 22:14:38 GMT
Problem when using facet.offset with facet.sort=lex and shards

                 Key: SOLR-2380
             Project: Solr
          Issue Type: Bug
          Components: search
    Affects Versions: 1.4.1, 3.1, 4.0
            Reporter: Peter Cline

I'm having a problem using distributed search in conjunction with the facet.offset parameter
and lexical facet value sorting.

I have a facet with ~100k values in one index.  I'm wanting to page through them alphabetically.
 When not using distributed search, everything works just fine, and very quick.  A query like
this works, returning 10 facet values starting at the 50,001st:

# Butterflies - Indiana !{noformat}

However, if I enable distributed search, using a single shard (which is the same index), I
get no facet values returned.

# empty list :({noformat}

Doing a little more testing, I'm finding that with sharding I often get an empty list any
time the facet.offset >= facet.limit.  Also, by example, if I do facet.limit=100 and facet.offset=90,
I get 10 facet values.  Doing so without sharding, I get the expected 100 values (starting
at what would normally be the 91st).



This message is automatically generated by JIRA.
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message