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

Tomoko Uchida commented on LUCENE-2562:
---------------------------------------

Patch updated. I've modified Overview and Documents tab.

Progress and Status:
- (Overview tab) Decoders support in fields table. They are now selectable.
- (Overview tab) 'more options' support in top ranking terms table except for 
'Show all term docs' (That will be supported after Search tab is completed.)
- (Documents tab) Layouts arrange. (I hope that's OK.)
- (Documents tab) 'Browse by term' (upper center pane) fixed.
- (Documents tab) Documents viewer (lower pane) fixed and support DocValues 
info (original Luke does not support this because docvalues are new, of 
course). 
- Decoders are now pluggable. DecoderLoader interface added.
- Some fixes, refactoring

Pending tasks to be done:
- (Documents tab) 'Browse documents with this term' (upper right pane) is not 
yet fixed. It works but be buggy.

I've added DecoderLoader interface and implemented SolrDecoderLoader class to 
make Luke work with or without Solr jars. I think we will be able to completely 
separate SolrDecoderLoader class from Luke's package later (or integrate this 
in Luke again if that is proper way.)

With this patch, if you want to use Luke with Solr's Decoder (wrapper for 
schema.FieldType,) you need to add a JVM option "luke.ext.decoder.loader" as 
below when start Luke.

{code}
$ java -cp "build" 
-Dluke.ext.decoder.loader=org.apache.lucene.luke.ext.SolrDecoderLoader 
org.apache.lucene.luke.ui.LukeApplication 
{code}

My approach is not good, please let me know.

For SolrDecoder, need to modify ivy.xml as follows. (I could not include this 
modification in my patch, because 'svn diff' complains 'Cannot display: file 
marked as a binary type.') 

{code:xml}
<!-- apache solr -->
    <dependency org="org.apache.solr" name="solr-core" rev="4.10.3"
                transitive="false"   // remove this line
                conf="solr->*,!sources,!javadoc"/>
{code}


I add some resources to 'LukeApplication_en.json', but I'm not a fluent English 
speaker, so please check and correct if there's any mistakes...

> Make Luke a Lucene/Solr Module
> ------------------------------
>
>                 Key: LUCENE-2562
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2562
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Mark Miller
>              Labels: gsoc2014
>         Attachments: LUCENE-2562-Ivy.patch, LUCENE-2562-Ivy.patch, 
> LUCENE-2562-ivy.patch, LUCENE-2562.patch, LUCENE-2562.patch, Luke-ALE-1.png, 
> Luke-ALE-2.png, Luke-ALE-3.png, Luke-ALE-4.png, Luke-ALE-5.png, luke1.jpg, 
> luke2.jpg, luke3.jpg
>
>
> see
> "RE: Luke - in need of maintainer": 
> http://markmail.org/message/m4gsto7giltvrpuf
> "Web-based Luke": http://markmail.org/message/4xwps7p7ifltme5q
> I think it would be great if there was a version of Luke that always worked 
> with trunk - and it would also be great if it was easier to match Luke jars 
> with Lucene versions.
> While I'd like to get GWT Luke into the mix as well, I think the easiest 
> starting point is to straight port Luke to another UI toolkit before 
> abstracting out DTO objects that both GWT Luke and Pivot Luke could share.
> I've started slowly converting Luke's use of thinlet to Apache Pivot. I 
> haven't/don't have a lot of time for this at the moment, but I've plugged 
> away here and there over the past work or two. There is still a *lot* to do.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to