You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erik Hatcher (JIRA)" <ji...@apache.org> on 2011/07/07 22:51:16 UTC

[jira] [Created] (SOLR-2641) Auto Facet Selection component

Auto Facet Selection component
------------------------------

                 Key: SOLR-2641
                 URL: https://issues.apache.org/jira/browse/SOLR-2641
             Project: Solr
          Issue Type: Improvement
          Components: SearchComponents - other
            Reporter: Erik Hatcher
            Assignee: Erik Hatcher
            Priority: Minor


It sure would be nice if you could have Solr automatically select field(s) for faceting based dynamically off the profile of the results.  For example, you're indexing disparate types of products, all with varying attributes (color, size - like for apparel, memory_size - for electronics, subject - for books, etc), and a user searches for "ipod" where most products match products with color and memory_size attributes... let's automatically facet on those fields.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (SOLR-2641) Auto Facet Selection component

Posted by "Toke Eskildsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13063722#comment-13063722 ] 

Toke Eskildsen commented on SOLR-2641:
--------------------------------------

This looks like a variant of hierarchical faceting. For popularity count as selector, paths like "color/green", "memory_size/4GB" would produce the desired result.

> Auto Facet Selection component
> ------------------------------
>
>                 Key: SOLR-2641
>                 URL: https://issues.apache.org/jira/browse/SOLR-2641
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Erik Hatcher
>            Assignee: Erik Hatcher
>            Priority: Minor
>         Attachments: SOLR_2641.patch
>
>
> It sure would be nice if you could have Solr automatically select field(s) for faceting based dynamically off the profile of the results.  For example, you're indexing disparate types of products, all with varying attributes (color, size - like for apparel, memory_size - for electronics, subject - for books, etc), and a user searches for "ipod" where most products match products with color and memory_size attributes... let's automatically facet on those fields.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (SOLR-2641) Auto Facet Selection component

Posted by "Erik Hatcher (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13061588#comment-13061588 ] 

Erik Hatcher commented on SOLR-2641:
------------------------------------

What's needed for this type of thing to do the right thing with distributed search?   The delegating server will need to cull together the counts (in this current implementation) to determine the best field(s) to facet on before distributing those requests to ensure each shard is faceting on the same field(s).  Not sure, yet, how to go about that.

> Auto Facet Selection component
> ------------------------------
>
>                 Key: SOLR-2641
>                 URL: https://issues.apache.org/jira/browse/SOLR-2641
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Erik Hatcher
>            Assignee: Erik Hatcher
>            Priority: Minor
>         Attachments: SOLR_2641.patch
>
>
> It sure would be nice if you could have Solr automatically select field(s) for faceting based dynamically off the profile of the results.  For example, you're indexing disparate types of products, all with varying attributes (color, size - like for apparel, memory_size - for electronics, subject - for books, etc), and a user searches for "ipod" where most products match products with color and memory_size attributes... let's automatically facet on those fields.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (SOLR-2641) Auto Facet Selection component

Posted by "Upayavira (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13061810#comment-13061810 ] 

Upayavira commented on SOLR-2641:
---------------------------------

Same issue with pivot facets (SOLR-792). I'm going to try to work it out (as a slow, background task).

> Auto Facet Selection component
> ------------------------------
>
>                 Key: SOLR-2641
>                 URL: https://issues.apache.org/jira/browse/SOLR-2641
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Erik Hatcher
>            Assignee: Erik Hatcher
>            Priority: Minor
>         Attachments: SOLR_2641.patch
>
>
> It sure would be nice if you could have Solr automatically select field(s) for faceting based dynamically off the profile of the results.  For example, you're indexing disparate types of products, all with varying attributes (color, size - like for apparel, memory_size - for electronics, subject - for books, etc), and a user searches for "ipod" where most products match products with color and memory_size attributes... let's automatically facet on those fields.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-2641) Auto Facet Selection component

Posted by "Erik Hatcher (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erik Hatcher updated SOLR-2641:
-------------------------------

    Attachment: SOLR_2641.patch

Basic implementation of a search component to put after query and before facet that keys off a "fields used" field (see SOLR-1280 for how this can be created automatically too), selects the top N fields and sets those as facet.field's automatically.

> Auto Facet Selection component
> ------------------------------
>
>                 Key: SOLR-2641
>                 URL: https://issues.apache.org/jira/browse/SOLR-2641
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Erik Hatcher
>            Assignee: Erik Hatcher
>            Priority: Minor
>         Attachments: SOLR_2641.patch
>
>
> It sure would be nice if you could have Solr automatically select field(s) for faceting based dynamically off the profile of the results.  For example, you're indexing disparate types of products, all with varying attributes (color, size - like for apparel, memory_size - for electronics, subject - for books, etc), and a user searches for "ipod" where most products match products with color and memory_size attributes... let's automatically facet on those fields.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (SOLR-2641) Auto Facet Selection component

Posted by "Erik Hatcher (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13061584#comment-13061584 ] 

Erik Hatcher commented on SOLR-2641:
------------------------------------

There's loads of room for improvement here, and likely there's better ways to go about even the simple stuff I've done in this initial patch.  Some ideas for improvement: pluggable implementations to determine the "best" facets to auto-select given the current request and results, ability to tailor the parameters for each field selected for faceting (should facets be sorted by index or count order?  mincount?  limit?  how to determine these for each field?).

> Auto Facet Selection component
> ------------------------------
>
>                 Key: SOLR-2641
>                 URL: https://issues.apache.org/jira/browse/SOLR-2641
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Erik Hatcher
>            Assignee: Erik Hatcher
>            Priority: Minor
>         Attachments: SOLR_2641.patch
>
>
> It sure would be nice if you could have Solr automatically select field(s) for faceting based dynamically off the profile of the results.  For example, you're indexing disparate types of products, all with varying attributes (color, size - like for apparel, memory_size - for electronics, subject - for books, etc), and a user searches for "ipod" where most products match products with color and memory_size attributes... let's automatically facet on those fields.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org