[jira] [Created] (SOLR-2989) Solr admin (Luke request handler) doesn't order the fields alphabetically

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (SOLR-2989) Solr admin (Luke request handler) doesn't order the fields alphabetically

JIRA jira@apache.org
Solr admin (Luke request handler) doesn't order the fields alphabetically
-------------------------------------------------------------------------

                 Key: SOLR-2989
                 URL: https://issues.apache.org/jira/browse/SOLR-2989
             Project: Solr
          Issue Type: Improvement
          Components: SearchComponents - other
    Affects Versions: 3.6, 4.0
         Environment: all
            Reporter: Erick Erickson
            Priority: Minor


It's always bugged me that the fields list for admin/schema browser haven't been alphabetical. We have users who have 100s of fields and it's hard to orient in an unordered list.

I'll attach a patch momentarily that starts moves toward this. The thing I need someone to render judgement on is whether implementing the Comparable interface on SchemaField and FieldType are in any way dangerous. Note that they only compare on name, secondary and tertiary sources are unnecessary I think.

The other interesting bit is that the list of fields is actually (apparently) fetched in two stages. The first stage gets the ones in the schema and the second one gets dynamic fields that have been realized. So the "fields" section actually has two separate ordered sections. Which is kind of ugly, but given the new admin interface coming in 4.x I don't feel the urge to fix this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (SOLR-2989) Solr admin (Luke request handler) doesn't order the fields alphabetically

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/SOLR-2989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erick Erickson updated SOLR-2989:
---------------------------------

    Attachment: SOLR-2989.patch

First cut at a patch. This is for 3x because that's where I happened to be working, but if we carry this forward, I can put it on trunk to I assume.
               

> Solr admin (Luke request handler) doesn't order the fields alphabetically
> -------------------------------------------------------------------------
>
>                 Key: SOLR-2989
>                 URL: https://issues.apache.org/jira/browse/SOLR-2989
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>    Affects Versions: 3.6, 4.0
>         Environment: all
>            Reporter: Erick Erickson
>            Priority: Minor
>         Attachments: SOLR-2989.patch
>
>
> It's always bugged me that the fields list for admin/schema browser haven't been alphabetical. We have users who have 100s of fields and it's hard to orient in an unordered list.
> I'll attach a patch momentarily that starts moves toward this. The thing I need someone to render judgement on is whether implementing the Comparable interface on SchemaField and FieldType are in any way dangerous. Note that they only compare on name, secondary and tertiary sources are unnecessary I think.
> The other interesting bit is that the list of fields is actually (apparently) fetched in two stages. The first stage gets the ones in the schema and the second one gets dynamic fields that have been realized. So the "fields" section actually has two separate ordered sections. Which is kind of ugly, but given the new admin interface coming in 4.x I don't feel the urge to fix this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Assigned] (SOLR-2989) Solr admin (Luke request handler) doesn't order the fields alphabetically

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/SOLR-2989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erick Erickson reassigned SOLR-2989:
------------------------------------

    Assignee: Erick Erickson
   

> Solr admin (Luke request handler) doesn't order the fields alphabetically
> -------------------------------------------------------------------------
>
>                 Key: SOLR-2989
>                 URL: https://issues.apache.org/jira/browse/SOLR-2989
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>    Affects Versions: 3.6, 4.0
>         Environment: all
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>            Priority: Minor
>         Attachments: SOLR-2989.patch
>
>
> It's always bugged me that the fields list for admin/schema browser haven't been alphabetical. We have users who have 100s of fields and it's hard to orient in an unordered list.
> I'll attach a patch momentarily that starts moves toward this. The thing I need someone to render judgement on is whether implementing the Comparable interface on SchemaField and FieldType are in any way dangerous. Note that they only compare on name, secondary and tertiary sources are unnecessary I think.
> The other interesting bit is that the list of fields is actually (apparently) fetched in two stages. The first stage gets the ones in the schema and the second one gets dynamic fields that have been realized. So the "fields" section actually has two separate ordered sections. Which is kind of ugly, but given the new admin interface coming in 4.x I don't feel the urge to fix this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (SOLR-2989) Solr admin (Luke request handler) doesn't order the fields alphabetically

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/SOLR-2989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13178020#comment-13178020 ]

Erick Erickson commented on SOLR-2989:
--------------------------------------

This Jira will probably be killed, it's unnecessary to implement Comparable on SchemaField and FieldType after all. I'm working on SOLR-1931 and have implemented a LukeRequestHandler-only solution there.
               

> Solr admin (Luke request handler) doesn't order the fields alphabetically
> -------------------------------------------------------------------------
>
>                 Key: SOLR-2989
>                 URL: https://issues.apache.org/jira/browse/SOLR-2989
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>    Affects Versions: 3.6, 4.0
>         Environment: all
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>            Priority: Minor
>         Attachments: SOLR-2989.patch
>
>
> It's always bugged me that the fields list for admin/schema browser haven't been alphabetical. We have users who have 100s of fields and it's hard to orient in an unordered list.
> I'll attach a patch momentarily that starts moves toward this. The thing I need someone to render judgement on is whether implementing the Comparable interface on SchemaField and FieldType are in any way dangerous. Note that they only compare on name, secondary and tertiary sources are unnecessary I think.
> The other interesting bit is that the list of fields is actually (apparently) fetched in two stages. The first stage gets the ones in the schema and the second one gets dynamic fields that have been realized. So the "fields" section actually has two separate ordered sections. Which is kind of ugly, but given the new admin interface coming in 4.x I don't feel the urge to fix this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (SOLR-2989) Solr admin (Luke request handler) doesn't order the fields alphabetically

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/SOLR-2989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erick Erickson resolved SOLR-2989.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0
                   3.6

Fixed as part of SOLR-1931
               

> Solr admin (Luke request handler) doesn't order the fields alphabetically
> -------------------------------------------------------------------------
>
>                 Key: SOLR-2989
>                 URL: https://issues.apache.org/jira/browse/SOLR-2989
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>    Affects Versions: 3.6, 4.0
>         Environment: all
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>            Priority: Minor
>             Fix For: 3.6, 4.0
>
>         Attachments: SOLR-2989.patch
>
>
> It's always bugged me that the fields list for admin/schema browser haven't been alphabetical. We have users who have 100s of fields and it's hard to orient in an unordered list.
> I'll attach a patch momentarily that starts moves toward this. The thing I need someone to render judgement on is whether implementing the Comparable interface on SchemaField and FieldType are in any way dangerous. Note that they only compare on name, secondary and tertiary sources are unnecessary I think.
> The other interesting bit is that the list of fields is actually (apparently) fetched in two stages. The first stage gets the ones in the schema and the second one gets dynamic fields that have been realized. So the "fields" section actually has two separate ordered sections. Which is kind of ugly, but given the new admin interface coming in 4.x I don't feel the urge to fix this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]