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

Leonardo Menezes commented on LUCENE-8764:
------------------------------------------

Thanks for the feedback.

I moved things around, so now we have:

1- A new element under Tools(Export terms)
2- A new modal dialog for exporting terms, which right now only contains a 
combobox for selecting the field and buttons for export/close. A status is also 
displayed when starting/finishing an export(see attached images)

At the moment, the export will be done to current working directory into a file 
called \{field}_terms_\{currentTimeMillis}.out, and it will include by default 
the doc freq.

I did not add any tests at the moment, but would do so when this first version 
looks ok for you. In the near future, we could have the filename/directory to 
be specified by the user, together with including/not including doc freq(and 
whatever else).

Let me know if this looks ok and I would then add a few test cases and consider 
this first version done :)

> Add "export all terms" feature to Luke
> --------------------------------------
>
>                 Key: LUCENE-8764
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8764
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/luke
>            Reporter: Tomoko Uchida
>            Priority: Major
>              Labels: beginner
>         Attachments: LUCENE-8764.patch, LUCENE-8764.patch, Screenshot 
> 2019-07-23 12.29.06.png, Screenshot 2019-07-24 12.35.48.png, Screenshot 
> 2019-07-24 12.36.00.png, Screenshot 2019-07-24 12.36.27.png
>
>
> This is a migrated issue from previous Luke project in GitHub: 
> [https://github.com/DmitryKey/luke/issues/3] (There are users' requests so I 
> moved this from GitHub to Jira)
> You can browse terms in arbitrary field via Luke GUI, but in some cases 
> "exporting all terms (and optionally docids) to a file" feature would be 
> useful for further inspection. It might be similar to Solr's terms component.
> As for the user interface, "Export terms" button should be located in 
> Overview tab and/or Documents tab.
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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

Reply via email to