You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Robert Purdy <rd...@gmail.com> on 2009/12/09 00:55:29 UTC
Multiple Facet prefixes on the same facet field in one request?
Hey all,
Is there anyway in Solr 1.4/1.5 to perform multiple facet prefixes on the
same facet field in one request?
Ex. On field 'Foo' I want to perform a facet prefix of A* and B* so I can
get a facet response of all terms prefixed with A and all terms prefixed
with B, either grouped together in the same facet result list or seperate
facet lists labeled by the prefix.
Currently, I perform one request per facet prefix and I am hoping that there
is some cryptic way using local params that I am missing that will allow me
to do this.
Robert.
--
View this message in context: http://old.nabble.com/Multiple-Facet-prefixes-on-the-same-facet-field-in-one-request--tp26702997p26702997.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Multiple Facet prefixes on the same facet field in one request?
Posted by Robert Purdy <ro...@shoptoit.ca>.
Well I looked at SOLR-1351 and applied the patch and that seems to do everything that I need. The local param syntax definitely the way to go.
Robert,
On 2009-12-11, at 2:53 AM, Shalin Shekhar Mangar wrote:
> On Thu, Dec 10, 2009 at 9:47 PM, Robert Purdy <ro...@shoptoit.ca> wrote:
>
>> Hey there Shalin,
>>
>> After scrolling through the Jira Issues I found,
>> http://issues.apache.org/jira/browse/SOLR-1387, discussing this exact
>> thing.Is anyone currently working on a patch for this issue still? If not
>> has the syntax in the last post in the Jira issue been approved so a patch
>> can be made?
>>
>>
> SOLR-1387 is not final. There's also SOLR-1351. A local param based syntax
> looks like the right way to go. However, we have not reached consensus yet.
> You are welcome to take them forward.
>
> --
> Regards,
> Shalin Shekhar Mangar.
Re: Multiple Facet prefixes on the same facet field in one request?
Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
On Thu, Dec 10, 2009 at 9:47 PM, Robert Purdy <ro...@shoptoit.ca> wrote:
> Hey there Shalin,
>
> After scrolling through the Jira Issues I found,
> http://issues.apache.org/jira/browse/SOLR-1387, discussing this exact
> thing.Is anyone currently working on a patch for this issue still? If not
> has the syntax in the last post in the Jira issue been approved so a patch
> can be made?
>
>
SOLR-1387 is not final. There's also SOLR-1351. A local param based syntax
looks like the right way to go. However, we have not reached consensus yet.
You are welcome to take them forward.
--
Regards,
Shalin Shekhar Mangar.
Re: Multiple Facet prefixes on the same facet field in one request?
Posted by Robert Purdy <ro...@shoptoit.ca>.
Hey there Shalin,
After scrolling through the Jira Issues I found, http://issues.apache.org/jira/browse/SOLR-1387, discussing this exact thing.Is anyone currently working on a patch for this issue still? If not has the syntax in the last post in the Jira issue been approved so a patch can be made?
Thanks Robert.
On 2009-12-10, at 2:19 AM, Shalin Shekhar Mangar wrote:
> On Wed, Dec 9, 2009 at 5:25 AM, Robert Purdy <rd...@gmail.com> wrote:
>
>>
>> Hey all,
>>
>> Is there anyway in Solr 1.4/1.5 to perform multiple facet prefixes on the
>> same facet field in one request?
>>
>> Ex. On field 'Foo' I want to perform a facet prefix of A* and B* so I can
>> get a facet response of all terms prefixed with A and all terms prefixed
>> with B, either grouped together in the same facet result list or seperate
>> facet lists labeled by the prefix.
>>
>> Currently, I perform one request per facet prefix and I am hoping that
>> there
>> is some cryptic way using local params that I am missing that will allow me
>> to do this.
>>
>>
> No, I don't think there is a way to do request for more than one
> facet.prefix on the same field in one request.
>
> --
> Regards,
> Shalin Shekhar Mangar.
Re: Multiple Facet prefixes on the same facet field in one request?
Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
On Wed, Dec 9, 2009 at 5:25 AM, Robert Purdy <rd...@gmail.com> wrote:
>
> Hey all,
>
> Is there anyway in Solr 1.4/1.5 to perform multiple facet prefixes on the
> same facet field in one request?
>
> Ex. On field 'Foo' I want to perform a facet prefix of A* and B* so I can
> get a facet response of all terms prefixed with A and all terms prefixed
> with B, either grouped together in the same facet result list or seperate
> facet lists labeled by the prefix.
>
> Currently, I perform one request per facet prefix and I am hoping that
> there
> is some cryptic way using local params that I am missing that will allow me
> to do this.
>
>
No, I don't think there is a way to do request for more than one
facet.prefix on the same field in one request.
--
Regards,
Shalin Shekhar Mangar.