[jira] Updated: (SOLR-162) lucene index browser / admin helpers (Luke)

2007-04-05 Thread Ryan McKinley (JIRA)

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

Ryan McKinley updated SOLR-162:
---

Attachment: SOLR-162-Admin-XML-luke.patch

Major updates to the 'luke' part.  It is getting really good!

I removed everything that complicated integration - rather then try to replace 
exiting /admin/xxx.jsp, this will sit next to it until someone wants to make a 
nice XSLT thing so we can remove the jsp/jdk requirement.

This includes request handlers for:

  
  
  
  
  

The only two i really care about are:
 LukeRequestHandler and SystemInfoHandler
If removing the others makes anyone happier, its fine with me.

I also started a wiki page for documentation:
http://wiki.apache.org/solr/LukeRequestHandler

I *think* this is almost ready to commit.



> lucene index browser / admin helpers (Luke)
> ---
>
> Key: SOLR-162
> URL: https://issues.apache.org/jira/browse/SOLR-162
> Project: Solr
>  Issue Type: New Feature
>  Components: web gui
>Reporter: Ryan McKinley
>Priority: Minor
> Attachments: SOLR-162-Admin-XML-luke.patch, 
> SOLR-162-Admin-XML-luke.patch, SOLR-162-Admin-XML-luke.patch, 
> SOLR-162-Admin-XML-luke.patch, SOLR-162-Admin-XML-luke.patch, 
> SOLR-162-Admin-XML-luke.patch
>
>
> Luke (http://www.getopt.org/luke/) is a great tool to help learn / understand 
> / debug lucene indexes.
> Solr already does a lot of what luke does... but it could do a bit more.  
> Specifically:
> * browse top terms across all fields (similar to faceting)
> * browse lucene documents / properties directly

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (SOLR-162) lucene index browser / admin helpers (Luke)

2007-03-20 Thread Ryan McKinley (JIRA)

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

Ryan McKinley updated SOLR-162:
---

Attachment: SOLR-162-Admin-XML-luke.patch

Updated to:
 * use SOLR-182 rather then implement its own dynamic loading at startup
 * apply without conflicts
 * use Luke 0.7 style to represent more field properties:

"key":{
  "I":"Indexed",
  "T":"Tokenized",
  "S":"Stored",
  "M":"Multivalued",
  "V":"TermVector Stored",
  "o":"Store Offset With TermVector",
  "p":"Store Position With TermVector",
  "O":"Omit Norms",
  "L":"Lazy",
  "B":"Binary",
  "C":"Compressed",
  "f":"Sort Missing First",
  "l":"Sort Missing Last"},
"fields":{
 "id":{
"type":"string",
"schema":"I-SOl",
"flags":"I-SO-",
...


> lucene index browser / admin helpers (Luke)
> ---
>
> Key: SOLR-162
> URL: https://issues.apache.org/jira/browse/SOLR-162
> Project: Solr
>  Issue Type: New Feature
>  Components: web gui
>Reporter: Ryan McKinley
>Priority: Minor
> Attachments: SOLR-162-Admin-XML-luke.patch, 
> SOLR-162-Admin-XML-luke.patch, SOLR-162-Admin-XML-luke.patch, 
> SOLR-162-Admin-XML-luke.patch, SOLR-162-Admin-XML-luke.patch
>
>
> Luke (http://www.getopt.org/luke/) is a great tool to help learn / understand 
> / debug lucene indexes.
> Solr already does a lot of what luke does... but it could do a bit more.  
> Specifically:
> * browse top terms across all fields (similar to faceting)
> * browse lucene documents / properties directly

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (SOLR-162) lucene index browser / admin helpers (Luke)

2007-02-20 Thread Ryan McKinley (JIRA)

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

Ryan McKinley updated SOLR-162:
---

Attachment: SOLR-162-Admin-XML-luke.patch

I put setResponseHeaderValues from SolrCore.

Uses the automatic configuration and utility classes from SOLR-85


  /admin
  ...


(perhaps this and SOLR-85 should be combined?)

> lucene index browser / admin helpers (Luke)
> ---
>
> Key: SOLR-162
> URL: https://issues.apache.org/jira/browse/SOLR-162
> Project: Solr
>  Issue Type: New Feature
>  Components: web gui
>Reporter: Ryan McKinley
>Priority: Minor
> Attachments: SOLR-162-Admin-XML-luke.patch, 
> SOLR-162-Admin-XML-luke.patch, SOLR-162-Admin-XML-luke.patch, 
> SOLR-162-Admin-XML-luke.patch
>
>
> Luke (http://www.getopt.org/luke/) is a great tool to help learn / understand 
> / debug lucene indexes.
> Solr already does a lot of what luke does... but it could do a bit more.  
> Specifically:
> * browse top terms across all fields (similar to faceting)
> * browse lucene documents / properties directly

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (SOLR-162) lucene index browser / admin helpers (Luke)

2007-02-17 Thread Ryan McKinley (JIRA)

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

Ryan McKinley updated SOLR-162:
---

Attachment: SOLR-162-Admin-XML-luke.patch

using SimpleOrderedMap - this keeps nice ordering for XML and uses map syntax 
for JSON/ruby.

thanks Yonik!

> lucene index browser / admin helpers (Luke)
> ---
>
> Key: SOLR-162
> URL: https://issues.apache.org/jira/browse/SOLR-162
> Project: Solr
>  Issue Type: New Feature
>  Components: web gui
>Reporter: Ryan McKinley
>Priority: Minor
> Attachments: SOLR-162-Admin-XML-luke.patch, 
> SOLR-162-Admin-XML-luke.patch, SOLR-162-Admin-XML-luke.patch
>
>
> Luke (http://www.getopt.org/luke/) is a great tool to help learn / understand 
> / debug lucene indexes.
> Solr already does a lot of what luke does... but it could do a bit more.  
> Specifically:
> * browse top terms across all fields (similar to faceting)
> * browse lucene documents / properties directly

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (SOLR-162) lucene index browser / admin helpers (Luke)

2007-02-17 Thread Ryan McKinley (JIRA)

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

Ryan McKinley updated SOLR-162:
---

Attachment: SOLR-162-Admin-XML-luke.patch

Thanks for your feedback, here is an updated version that:

1. replaces NamedList<> with Map wherever possible.  This makes the 
direct XML output look funny (the stack trace is displayed before the thread 
name), but it is probably a good idea so clients can easily access stuff by 
name.

2. I added a parameter "echoHandler" that behaves just like "echoParams" - it 
writes the handler name to the responseHeader.  

3. I added the default params echoHandler=true and echoParams=explicit to all 
the /admin/* handlers.  This gets a bit verbose and will be helped by 

4. I moved the responseHeader writing from SolrCore to RequestBaseHandler.  
This is good because RequestHandler authors control the header more explicitly 
if necessary.

5. added a name to each thread in the thread list.  I don't see any other lists 
without names, but i could be missing something.

6. changed the output in PropertiesRequestHandler from "properties" to 
"system.properties"




> lucene index browser / admin helpers (Luke)
> ---
>
> Key: SOLR-162
> URL: https://issues.apache.org/jira/browse/SOLR-162
> Project: Solr
>  Issue Type: New Feature
>  Components: web gui
>Reporter: Ryan McKinley
>Priority: Minor
> Attachments: SOLR-162-Admin-XML-luke.patch, 
> SOLR-162-Admin-XML-luke.patch
>
>
> Luke (http://www.getopt.org/luke/) is a great tool to help learn / understand 
> / debug lucene indexes.
> Solr already does a lot of what luke does... but it could do a bit more.  
> Specifically:
> * browse top terms across all fields (similar to faceting)
> * browse lucene documents / properties directly

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (SOLR-162) lucene index browser / admin helpers (Luke)

2007-02-16 Thread Ryan McKinley (JIRA)

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

Ryan McKinley updated SOLR-162:
---

Attachment: SOLR-162-Admin-XML-luke.patch


This patch moves a lot of the /admin jsp pages to SolrRequestHandlers and adds 
a LukeRequestHandler to let you browse a lucene index (even if it does not 
match the solr schema).  I don't know XSLT well enough to make anything look 
good yet, but with an ok XSLT file, we could replace many of the .jsp files.

pages of interest:

http://localhost:8983/solr/admin/

http://localhost:8983/solr/admin/file
http://localhost:8983/solr/admin/file?file=solrconfig.xml
http://localhost:8983/solr/admin/threads
http://localhost:8983/solr/admin/registry
http://localhost:8983/solr/admin/registry?wt=json&indent=true
http://localhost:8983/solr/admin/stats
http://localhost:8983/solr/admin/ping
http://localhost:8983/solr/admin/properties
http://localhost:8983/solr/admin/properties?name=java.home
http://localhost:8983/solr/admin/logging
http://localhost:8983/solr/admin/logging?set=FINE 

http://localhost:8983/solr/admin/luke (field info + top fields)
http://localhost:8983/solr/admin/luke?field=cat (like faceting)
http://localhost:8983/solr/admin/luke?docID=10 (lucene doc + solr doc)
http://localhost:8983/solr/admin/luke?id=10 (lucene doc + solr doc)
http://localhost:8983/solr/admin/luke?id=MA147LL/A


> lucene index browser / admin helpers (Luke)
> ---
>
> Key: SOLR-162
> URL: https://issues.apache.org/jira/browse/SOLR-162
> Project: Solr
>  Issue Type: New Feature
>  Components: web gui
>Reporter: Ryan McKinley
>Priority: Minor
> Attachments: SOLR-162-Admin-XML-luke.patch
>
>
> Luke (http://www.getopt.org/luke/) is a great tool to help learn / understand 
> / debug lucene indexes.
> Solr already does a lot of what luke does... but it could do a bit more.  
> Specifically:
> * browse top terms across all fields (similar to faceting)
> * browse lucene documents / properties directly

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.