You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2007/07/19 21:07:06 UTC

[jira] Resolved: (SOLR-311) wrong quoting in tutorial - fails on windows

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

Hoss Man resolved SOLR-311.
---------------------------

    Resolution: Fixed
      Assignee: Hoss Man


thanks for pointing this out.

FYI: the html and pdf versions are generated from the xml by forrest.

Committed revision 557739.
website sync should be ~30 minutes

> wrong quoting in tutorial - fails on windows
> --------------------------------------------
>
>                 Key: SOLR-311
>                 URL: https://issues.apache.org/jira/browse/SOLR-311
>             Project: Solr
>          Issue Type: Bug
>          Components: documentation
>         Environment: Windows XP and likely other windows variants
>            Reporter: Paul Sundling
>            Assignee: Hoss Man
>            Priority: Trivial
>
> java -Ddata=args -Dcommit=no -jar post.jar '<delete><id>SP2514N</id></delete>'
> and
> java -Ddata=args -jar post.jar '<delete><query>name:DDR</query></delete>'
> should have their single quotes replaced with double quotes.  Otherwise, it results in the following error on windows command line:
> (sample DOS window FAILS)
> C:\downloads\temp\apache-solr-1.2.0\example\exampledocs>java -Ddata=args -jar post.jar '<delete><query>name:DDR</query></delete>'
> < was unexpected at this time.
> (sample DOS window WORKS)
> C:\downloads\temp\apache-solr-1.2.0\example\exampledocs>java -Ddata=args -jar post.jar "<delete><query>name:DDR</query></delete>"
> SimplePostTool: version 1.2
> SimplePostTool: WARNING: Make sure your XML documents are encoded in UTF-8, other encodings are not currently supported
> SimplePostTool: POSTing args to http://localhost:8983/solr/update..
> SimplePostTool: COMMITting Solr index changes..
> As demonstrated double quotes works with windows.  I also tested double quotes in cygwin, and it should presumably work for linux/UNIX as well.
> I started to do a patch, but I see there are three locations where updates might need to be made and I wasn't sure how PDF files were generated, so here's the list of effected source files:
> site/tutorial.html
> site/tutorial.pdf
> src/site/src/documentation/content/xdocs/tutorial.xml

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