[jira] Resolved: (SOLR-164) Use the SOLR-86 client in examples of the Solr tutorial

2007-02-20 Thread Bertrand Delacretaz (JIRA)

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

Bertrand Delacretaz resolved SOLR-164.
--

Resolution: Fixed

Patch applied in revision 509455.

Website updated as per http://wiki.apache.org/solr/Website_Update_HOWTO

 Use the SOLR-86 client in examples of the Solr tutorial
 ---

 Key: SOLR-164
 URL: https://issues.apache.org/jira/browse/SOLR-164
 Project: Solr
  Issue Type: Improvement
  Components: documentation
Reporter: Bertrand Delacretaz
Priority: Minor
 Attachments: SOLR-164-patched-tutorial.html, 
 SOLR-164-tutorial.xml.patch


 I'll attach a patch for the Solr tutorial 
 (http://lucene.apache.org/solr/tutorial.html) to use the java client of 
 SOLR-86 instead of post.sh

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



[jira] Updated: (SOLR-85) [PATCH] Add update form to the admin screen

2007-02-20 Thread Ryan McKinley (JIRA)

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

Ryan McKinley updated SOLR-85:
--

Attachment: SOLR-85-UpdatForms-RequestHandlers.patch

 
 1) duplicate code cut/paste from CommitRequestHandler in 
 XmlUpdateRequestHandler 

I moved the common code to a new file RequestHandlerUtils.java


 2) the upload form assumes /update/xml is a registered requestHandler name 
 which...

I may have gone completely mad with this one, so a sanity check would be  good! 
 

I made a FormRequestHandler that returns an HTML form for a given path if it 
has been registered.  For example, if you had:

 requestHandler name=/admin/form class=...FormRequestHandler 
   lst name=invariants
str name=wtraw/str 
   /lst
   lst name=forms
str name=/update/xmlforms/update/xml.html/str 
srr name=/update/csvforms/update/csv.html/str 
   /lst
 /requestHandler

hitting:
 http://localhost:8983/solr/admin/form?path=/update/xml

returns the html sitting in ${solr.home}/conf/forms/update/xml.html

It replaces ${path} with the registered path.

- - - - - - -

Since the admin RequestHandler config scheme gets pretty unruly if you have to 
configure it is solrconfig.xml, I added a flag to the admin section to set 
where you want all the standard ones

admin
  registerStandardHandlers/admin/registerStandardHandlers
  ...
/admin

If you put false it will not register the default paths.  It will not 
overwrite any existing paths either.  that is, if you manually register,  
/admin/file it will not put in the default one


- - - - - 

The AdminHandlersSetupHelper automatically finds forms in the conf/forms/ 
directory that match registered handlers and registers them with the 
FormRequestHandler.  

- - - - - -

I'm putting this up mostly for a sanity check.  If you like the direction, i'll 
add more comments, documentation and clean things up.

thanks

 [PATCH] Add update form to the admin screen
 ---

 Key: SOLR-85
 URL: https://issues.apache.org/jira/browse/SOLR-85
 Project: Solr
  Issue Type: New Feature
  Components: update
Reporter: Thorsten Scherler
 Attachments: solar-85.png, solar-85.png, 
 solar-85.with.file.upload.diff, solar-85.with.file.upload.diff, 
 solar-85.with.file.upload.diff, solar-85.with.file.upload.diff, 
 SOLR-85-UpdatForms-RequestHandlers.patch, solr-85-with-104.patch, 
 solr-85-with-104.patch, solr-85-with-104.patch, solr-85.diff, solr-85.diff, 
 solr-85.FINAL.diff


 It would be nice to have a webform to update solr via a http interface 
 instead of using the post.sh.

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



[jira] Updated: (SOLR-85) [PATCH] Add update form to the admin screen

2007-02-20 Thread Ryan McKinley (JIRA)

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

Ryan McKinley updated SOLR-85:
--

Attachment: SOLR-85-UpdatForms-RequestHandlers.patch

 [PATCH] Add update form to the admin screen
 ---

 Key: SOLR-85
 URL: https://issues.apache.org/jira/browse/SOLR-85
 Project: Solr
  Issue Type: New Feature
  Components: update
Reporter: Thorsten Scherler
 Attachments: solar-85.png, solar-85.png, 
 solar-85.with.file.upload.diff, solar-85.with.file.upload.diff, 
 solar-85.with.file.upload.diff, solar-85.with.file.upload.diff, 
 SOLR-85-UpdatForms-RequestHandlers.patch, 
 SOLR-85-UpdatForms-RequestHandlers.patch, solr-85-with-104.patch, 
 solr-85-with-104.patch, solr-85-with-104.patch, solr-85.diff, solr-85.diff, 
 solr-85.FINAL.diff


 It would be nice to have a webform to update solr via a http interface 
 instead of using the post.sh.

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



[jira] Commented: (SOLR-164) Use the SOLR-86 client in examples of the Solr tutorial

2007-02-20 Thread Bertrand Delacretaz (JIRA)

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

Bertrand Delacretaz commented on SOLR-164:
--

I have reverted the website update, as the SOLR-86 client is not available in a 
released version yet. We'll have to update the site once we do a release.

Here's what I did to revert changes on people.apache.org:

cd /www/lucene.apache.org/solr
svn up -r 509454 tutorial.*


 Use the SOLR-86 client in examples of the Solr tutorial
 ---

 Key: SOLR-164
 URL: https://issues.apache.org/jira/browse/SOLR-164
 Project: Solr
  Issue Type: Improvement
  Components: documentation
Reporter: Bertrand Delacretaz
Priority: Minor
 Attachments: SOLR-164-patched-tutorial.html, 
 SOLR-164-tutorial.xml.patch


 I'll attach a patch for the Solr tutorial 
 (http://lucene.apache.org/solr/tutorial.html) to use the java client of 
 SOLR-86 instead of post.sh

-- 
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
  registerStandardHandlers/admin/registerStandardHandlers
  ...
/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] Work started: (SOLR-167) synonym filter mixes up terms from different synonyms

2007-02-20 Thread Yonik Seeley (JIRA)

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

Work on SOLR-167 started by Yonik Seeley.

 synonym filter mixes up terms from different synonyms
 -

 Key: SOLR-167
 URL: https://issues.apache.org/jira/browse/SOLR-167
 Project: Solr
  Issue Type: Bug
  Components: update
Affects Versions: 1.1.0, 1.2
Reporter: Mike Klaas
 Assigned To: Yonik Seeley
 Fix For: 1.1.0, 1.2


 SynonymFilter can mix up options from different synonyms, sometimes inserting 
 the wrong word, sometimes using the wrong offset.  Issue appears to be use of 
 the matched arraylist in SynonymFilter
 To reproduce: add best buy,bestbuy,bb to the example's synonym list.  Then 
 view verbose analysis of the query analyzer output for Best buy - Acer 
 Aspire AS5610-2273 - $599. Windows vista, 1 GB RAM
 gigabytes becomes a synonym of Best buy, and the offsets of the remainder 
 of the GB synonyms are incorrect.
 Assigning to Yonik as this code is too hairy for me to fix without further 
 study.

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



Re: [jira] Commented: (SOLR-164) Use the SOLR-86 client in examples of the Solr tutorial

2007-02-20 Thread Chris Hostetter

: I have reverted the website update, as the SOLR-86 client is not
: available in a released version yet. We'll have to update the site once
: we do a release.

i think it's perfectly fine to have the site reflect what's in the trunk;
people who the tutorial specific to the 1.1 release can find it in the 1.1
release itself.

having the site docs reflect the trunk gives us the advantage of having
more people review it earlier (before it gets baked into a release


-Hoss



Re: [jira] Commented: (SOLR-164) Use the SOLR-86 client in examples of the Solr tutorial

2007-02-20 Thread Thorsten Scherler
On Tue, 2007-02-20 at 10:11 -0800, Chris Hostetter wrote:
 : I have reverted the website update, as the SOLR-86 client is not
 : available in a released version yet. We'll have to update the site once
 : we do a release.
 
 i think it's perfectly fine to have the site reflect what's in the trunk;
 people who the tutorial specific to the 1.1 release can find it in the 1.1
 release itself.
 
 having the site docs reflect the trunk gives us the advantage of having
 more people review it earlier (before it gets baked into a release

+1

In the current state of solr, version specific documentation on our
website does not make much sense.

salu2
-- 
Thorsten Scherler thorsten.at.apache.org
Open Source Java  XMLconsulting, training and solutions



[jira] Closed: (SOLR-164) Use the SOLR-86 client in examples of the Solr tutorial

2007-02-20 Thread Bertrand Delacretaz (JIRA)

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

Bertrand Delacretaz closed SOLR-164.



Following discussion on the list, I have re-updated the website. Docs for 
released versions are distributed with the releases themselves.

 Use the SOLR-86 client in examples of the Solr tutorial
 ---

 Key: SOLR-164
 URL: https://issues.apache.org/jira/browse/SOLR-164
 Project: Solr
  Issue Type: Improvement
  Components: documentation
Reporter: Bertrand Delacretaz
Priority: Minor
 Attachments: SOLR-164-patched-tutorial.html, 
 SOLR-164-tutorial.xml.patch


 I'll attach a patch for the Solr tutorial 
 (http://lucene.apache.org/solr/tutorial.html) to use the java client of 
 SOLR-86 instead of post.sh

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



[jira] Created: (SOLR-168) analysis.jsp messes up token positions

2007-02-20 Thread Yonik Seeley (JIRA)
analysis.jsp messes up token positions
--

 Key: SOLR-168
 URL: https://issues.apache.org/jira/browse/SOLR-168
 Project: Solr
  Issue Type: Bug
  Components: web gui
Reporter: Yonik Seeley
 Attachments: analysis.jsp.patch

If two or more tokens are in a position column, and there is a larger position 
column somewhere else, the empty space won't be filled in correctly, resulting 
in tokens displayed in the wrong positions.

simple example:
a=b,c
q=x,y,z

then analyze a q and the first column will contain b,c,z

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



[jira] Updated: (SOLR-168) analysis.jsp messes up token positions

2007-02-20 Thread Yonik Seeley (JIRA)

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

Yonik Seeley updated SOLR-168:
--

Attachment: analysis.jsp.patch

fix attached.

 analysis.jsp messes up token positions
 --

 Key: SOLR-168
 URL: https://issues.apache.org/jira/browse/SOLR-168
 Project: Solr
  Issue Type: Bug
  Components: web gui
Reporter: Yonik Seeley
 Attachments: analysis.jsp.patch


 If two or more tokens are in a position column, and there is a larger 
 position column somewhere else, the empty space won't be filled in correctly, 
 resulting in tokens displayed in the wrong positions.
 simple example:
 a=b,c
 q=x,y,z
 then analyze a q and the first column will contain b,c,z

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