[jira] [Commented] (SOLR-6900) bin/post improvements needed

2015-01-18 Thread Erik Hatcher (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14281729#comment-14281729
 ] 

Erik Hatcher commented on SOLR-6900:


bq. +1 for Delete.

Done: {{bin/post -c signals -d deleteid99/id/delete}}

stdin also supported:
{code}
echo -e id,val\n38,0.47 | bin/post -c signals -type text/csv -out yes -d
{code}

The {{-d}} switch (or {{\--data}} or just {{\-}}) can be used without actual 
stdin or string args too, which causes an empty update command to be sent which 
will force a commit by default (and an optimize with {{-optimize yes}} 
specified; note that optimize is not listed in usage help intentionally 
currently).  Example: {{bin/post -c signals -d}} to just issue a commit.

 bin/post improvements needed
 

 Key: SOLR-6900
 URL: https://issues.apache.org/jira/browse/SOLR-6900
 Project: Solr
  Issue Type: Bug
Affects Versions: 5.0, Trunk
Reporter: Erik Hatcher
Assignee: Erik Hatcher
Priority: Blocker
 Fix For: 5.0, Trunk


 * Fix glob patterns.  They don't work as expected: bin/post collection1 
 \*.xml expands \*.xml such that the script gets all the file names as 
 parameters not just literally \*.xml
 * Add error handling to check that the collection exists
 * Create Windows version



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

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



[jira] [Commented] (SOLR-6900) bin/post improvements needed

2015-01-18 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14281724#comment-14281724
 ] 

ASF subversion and git services commented on SOLR-6900:
---

Commit 1652722 from [~ehatcher] in branch 'dev/branches/lucene_solr_5_0'
[ https://svn.apache.org/r1652722 ]

SOLR-6900: add support for stdin and string args

 bin/post improvements needed
 

 Key: SOLR-6900
 URL: https://issues.apache.org/jira/browse/SOLR-6900
 Project: Solr
  Issue Type: Bug
Affects Versions: 5.0, Trunk
Reporter: Erik Hatcher
Assignee: Erik Hatcher
Priority: Blocker
 Fix For: 5.0, Trunk


 * Fix glob patterns.  They don't work as expected: bin/post collection1 
 \*.xml expands \*.xml such that the script gets all the file names as 
 parameters not just literally \*.xml
 * Add error handling to check that the collection exists
 * Create Windows version



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

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



[jira] [Commented] (SOLR-6900) bin/post improvements needed

2015-01-18 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14281726#comment-14281726
 ] 

ASF subversion and git services commented on SOLR-6900:
---

Commit 1652724 from [~ehatcher] in branch 'dev/trunk'
[ https://svn.apache.org/r1652724 ]

SOLR-6900: add support for stdin and string args (merged from r1652722)

 bin/post improvements needed
 

 Key: SOLR-6900
 URL: https://issues.apache.org/jira/browse/SOLR-6900
 Project: Solr
  Issue Type: Bug
Affects Versions: 5.0, Trunk
Reporter: Erik Hatcher
Assignee: Erik Hatcher
Priority: Blocker
 Fix For: 5.0, Trunk


 * Fix glob patterns.  They don't work as expected: bin/post collection1 
 \*.xml expands \*.xml such that the script gets all the file names as 
 parameters not just literally \*.xml
 * Add error handling to check that the collection exists
 * Create Windows version



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

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



[jira] [Commented] (SOLR-6900) bin/post improvements needed

2015-01-18 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14281725#comment-14281725
 ] 

ASF subversion and git services commented on SOLR-6900:
---

Commit 1652723 from [~ehatcher] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1652723 ]

SOLR-6900: add support for stdin and string args (merged from r1652722)

 bin/post improvements needed
 

 Key: SOLR-6900
 URL: https://issues.apache.org/jira/browse/SOLR-6900
 Project: Solr
  Issue Type: Bug
Affects Versions: 5.0, Trunk
Reporter: Erik Hatcher
Assignee: Erik Hatcher
Priority: Blocker
 Fix For: 5.0, Trunk


 * Fix glob patterns.  They don't work as expected: bin/post collection1 
 \*.xml expands \*.xml such that the script gets all the file names as 
 parameters not just literally \*.xml
 * Add error handling to check that the collection exists
 * Create Windows version



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

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



[jira] [Commented] (SOLR-6900) bin/post improvements needed

2015-01-15 Thread Alexandre Rafalovitch (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14278921#comment-14278921
 ] 

Alexandre Rafalovitch commented on SOLR-6900:
-

+1 for Delete. Can't do examples end to end without deleting. 

Also, does the tool supports stand-alone commit commands (without files)? 

 bin/post improvements needed
 

 Key: SOLR-6900
 URL: https://issues.apache.org/jira/browse/SOLR-6900
 Project: Solr
  Issue Type: Bug
Affects Versions: 5.0, Trunk
Reporter: Erik Hatcher
Assignee: Erik Hatcher
Priority: Blocker
 Fix For: 5.0, Trunk


 * Fix glob patterns.  They don't work as expected: bin/post collection1 
 \*.xml expands \*.xml such that the script gets all the file names as 
 parameters not just literally \*.xml
 * Add error handling to check that the collection exists
 * Create Windows version



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

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



[jira] [Commented] (SOLR-6900) bin/post improvements needed

2015-01-14 Thread Erik Hatcher (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14277938#comment-14277938
 ] 

Erik Hatcher commented on SOLR-6900:


Latest improvements:

  * Error handling: script now checks several things like collection specified, 
files/directories not mixed with URLs, and that one more are specified
  * Spaces in file names now handled properly
  * Script works when run from any working directory

Open issues:
  * Windows version not implemented yet (volunteers to get this in for 5.0?  
Otherwise will be deferred to a later version)
  * args (direct string to post to Solr) and stdin not yet supported


 bin/post improvements needed
 

 Key: SOLR-6900
 URL: https://issues.apache.org/jira/browse/SOLR-6900
 Project: Solr
  Issue Type: Bug
Affects Versions: 5.0, Trunk
Reporter: Erik Hatcher
Assignee: Erik Hatcher
Priority: Blocker
 Fix For: 5.0, Trunk


 * Fix glob patterns.  They don't work as expected: bin/post collection1 
 \*.xml expands \*.xml such that the script gets all the file names as 
 parameters not just literally \*.xml
 * Add error handling to check that the collection exists
 * Create Windows version



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

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



[jira] [Commented] (SOLR-6900) bin/post improvements needed

2015-01-14 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14278013#comment-14278013
 ] 

ASF subversion and git services commented on SOLR-6900:
---

Commit 1651916 from [~ehatcher] in branch 'dev/trunk'
[ https://svn.apache.org/r1651916 ]

SOLR-6900: converted to Unix-style options in bin/post and updated usage 
examples, also updated version string of SimplePostTool

 bin/post improvements needed
 

 Key: SOLR-6900
 URL: https://issues.apache.org/jira/browse/SOLR-6900
 Project: Solr
  Issue Type: Bug
Affects Versions: 5.0, Trunk
Reporter: Erik Hatcher
Assignee: Erik Hatcher
Priority: Blocker
 Fix For: 5.0, Trunk


 * Fix glob patterns.  They don't work as expected: bin/post collection1 
 \*.xml expands \*.xml such that the script gets all the file names as 
 parameters not just literally \*.xml
 * Add error handling to check that the collection exists
 * Create Windows version



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

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



[jira] [Commented] (SOLR-6900) bin/post improvements needed

2015-01-14 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14278017#comment-14278017
 ] 

ASF subversion and git services commented on SOLR-6900:
---

Commit 1651917 from [~ehatcher] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1651917 ]

SOLR-6900: converted to Unix-style options in bin/post and updated usage 
examples, also updated version string of SimplePostTool (merged from trunk 
r1651916)

 bin/post improvements needed
 

 Key: SOLR-6900
 URL: https://issues.apache.org/jira/browse/SOLR-6900
 Project: Solr
  Issue Type: Bug
Affects Versions: 5.0, Trunk
Reporter: Erik Hatcher
Assignee: Erik Hatcher
Priority: Blocker
 Fix For: 5.0, Trunk


 * Fix glob patterns.  They don't work as expected: bin/post collection1 
 \*.xml expands \*.xml such that the script gets all the file names as 
 parameters not just literally \*.xml
 * Add error handling to check that the collection exists
 * Create Windows version



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

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



[jira] [Commented] (SOLR-6900) bin/post improvements needed

2015-01-14 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14277914#comment-14277914
 ] 

ASF subversion and git services commented on SOLR-6900:
---

Commit 1651896 from [~ehatcher] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1651896 ]

SOLR-6900: bin/post improvements including glob handling, spaces in file names, 
and improved help output (merged from trunk r1651895)

 bin/post improvements needed
 

 Key: SOLR-6900
 URL: https://issues.apache.org/jira/browse/SOLR-6900
 Project: Solr
  Issue Type: Bug
Affects Versions: 5.0, Trunk
Reporter: Erik Hatcher
Assignee: Erik Hatcher
Priority: Blocker
 Fix For: 5.0, Trunk


 * Fix glob patterns.  They don't work as expected: bin/post collection1 
 \*.xml expands \*.xml such that the script gets all the file names as 
 parameters not just literally \*.xml
 * Add error handling to check that the collection exists
 * Create Windows version



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

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



[jira] [Commented] (SOLR-6900) bin/post improvements needed

2015-01-14 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14277916#comment-14277916
 ] 

ASF subversion and git services commented on SOLR-6900:
---

Commit 1651898 from [~ehatcher] in branch 'dev/branches/lucene_solr_5_0'
[ https://svn.apache.org/r1651898 ]

SOLR-6900: bin/post improvements including glob handling, spaces in file names, 
and improved help output (merged from trunk r1651895)

 bin/post improvements needed
 

 Key: SOLR-6900
 URL: https://issues.apache.org/jira/browse/SOLR-6900
 Project: Solr
  Issue Type: Bug
Affects Versions: 5.0, Trunk
Reporter: Erik Hatcher
Assignee: Erik Hatcher
Priority: Blocker
 Fix For: 5.0, Trunk


 * Fix glob patterns.  They don't work as expected: bin/post collection1 
 \*.xml expands \*.xml such that the script gets all the file names as 
 parameters not just literally \*.xml
 * Add error handling to check that the collection exists
 * Create Windows version



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

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



[jira] [Commented] (SOLR-6900) bin/post improvements needed

2015-01-14 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14277911#comment-14277911
 ] 

ASF subversion and git services commented on SOLR-6900:
---

Commit 1651895 from [~ehatcher] in branch 'dev/trunk'
[ https://svn.apache.org/r1651895 ]

SOLR-6900: bin/post improvements including glob handling, spaces in file names, 
and improved help output

 bin/post improvements needed
 

 Key: SOLR-6900
 URL: https://issues.apache.org/jira/browse/SOLR-6900
 Project: Solr
  Issue Type: Bug
Affects Versions: 5.0, Trunk
Reporter: Erik Hatcher
Assignee: Erik Hatcher
Priority: Blocker
 Fix For: 5.0, Trunk


 * Fix glob patterns.  They don't work as expected: bin/post collection1 
 \*.xml expands \*.xml such that the script gets all the file names as 
 parameters not just literally \*.xml
 * Add error handling to check that the collection exists
 * Create Windows version



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

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



[jira] [Commented] (SOLR-6900) bin/post improvements needed

2015-01-14 Thread Erik Hatcher (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14277921#comment-14277921
 ] 

Erik Hatcher commented on SOLR-6900:


Several improvements committed.  Here's the latest:

{code}
$ bin/post -h

Usage: post -c collection/core files|directories|urls [OPTIONS]
or post -help

   collection name defaults to DEFAULT_SOLR_COLLECTION if not specified

OPTIONS
===
  Solr options:
url=base Solr update URL (overrides collection, host, and port)
host=host (default: localhost)
port=port (default: 8983)
commit=yes|no (default: yes)

  Web crawl options:
recursive=depth (default: 1)
delay=seconds (default=10)

  Directory crawl options:
delay=seconds (default=0)

  Other options:
filetypes=type[,type,...] (default: 
xml,json,csv,pdf,doc,docx,ppt,pptx,xls,xlsx,odt,odp,ods,ott,otp,ots,rtf,htm,html,txt,log)
params=key=value[key=value...] (values must be URL-encoded)
out=yes|no (default=no; yes outputs Solr response to console)


Examples:

JSON file: bin/post -c wizbang events.json
XML files: bin/post -c records article*.xml
CSV file: bin/post -c signals LATEST-signals.csv
Directory of files: bin/post -c myfiles ~/Documents
Web crawl: bin/post -c gettingstarted http://lucidworks.com recursive=2 delay=1
{code}

 bin/post improvements needed
 

 Key: SOLR-6900
 URL: https://issues.apache.org/jira/browse/SOLR-6900
 Project: Solr
  Issue Type: Bug
Affects Versions: 5.0, Trunk
Reporter: Erik Hatcher
Assignee: Erik Hatcher
Priority: Blocker
 Fix For: 5.0, Trunk


 * Fix glob patterns.  They don't work as expected: bin/post collection1 
 \*.xml expands \*.xml such that the script gets all the file names as 
 parameters not just literally \*.xml
 * Add error handling to check that the collection exists
 * Create Windows version



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

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



[jira] [Commented] (SOLR-6900) bin/post improvements needed

2015-01-14 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14278067#comment-14278067
 ] 

ASF subversion and git services commented on SOLR-6900:
---

Commit 1651926 from [~ehatcher] in branch 'dev/branches/lucene_solr_5_0'
[ https://svn.apache.org/r1651926 ]

SOLR-6900,SOLR-6870: svn merge

 bin/post improvements needed
 

 Key: SOLR-6900
 URL: https://issues.apache.org/jira/browse/SOLR-6900
 Project: Solr
  Issue Type: Bug
Affects Versions: 5.0, Trunk
Reporter: Erik Hatcher
Assignee: Erik Hatcher
Priority: Blocker
 Fix For: 5.0, Trunk


 * Fix glob patterns.  They don't work as expected: bin/post collection1 
 \*.xml expands \*.xml such that the script gets all the file names as 
 parameters not just literally \*.xml
 * Add error handling to check that the collection exists
 * Create Windows version



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

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



[jira] [Commented] (SOLR-6900) bin/post improvements needed

2015-01-13 Thread Erik Hatcher (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14276407#comment-14276407
 ] 

Erik Hatcher commented on SOLR-6900:


I think bin/post maybe ought to also be able to do deletes or other arbitrary 
Solr update commands, like SPT can do:
{code}
java -Ddata=args org.apache.solr.util.SimplePostTool 
deleteidSP2514N/id/delete
{code}


 bin/post improvements needed
 

 Key: SOLR-6900
 URL: https://issues.apache.org/jira/browse/SOLR-6900
 Project: Solr
  Issue Type: Bug
Affects Versions: 5.0, Trunk
Reporter: Erik Hatcher
Assignee: Erik Hatcher
Priority: Blocker
 Fix For: 5.0, Trunk


 * Fix glob patterns.  They don't work as expected: bin/post collection1 
 \*.xml expands \*.xml such that the script gets all the file names as 
 parameters not just literally \*.xml
 * Add error handling to check that the collection exists
 * Create Windows version



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

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



[jira] [Commented] (SOLR-6900) bin/post improvements needed

2015-01-13 Thread Erik Hatcher (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14275426#comment-14275426
 ] 

Erik Hatcher commented on SOLR-6900:


I'm going to convert this to using -c collection|core name, rather than it just 
being magically the first argument to sync it up with `bin/solr create -c 
core_name` and zkcli.   I'll add a fall-back environment variable, something 
like SOLR_DEFAULT_COLLECTION to allow it to be specified once for a developer 
in their environment and then be able to `bin/post *.xml` more cleanly [often 
one is only working with a particular collection]

 bin/post improvements needed
 

 Key: SOLR-6900
 URL: https://issues.apache.org/jira/browse/SOLR-6900
 Project: Solr
  Issue Type: Bug
Affects Versions: 5.0, Trunk
Reporter: Erik Hatcher
Assignee: Erik Hatcher
 Fix For: 5.0, Trunk


 * Fix glob patterns.  They don't work as expected: bin/post collection1 
 \*.xml expands \*.xml such that the script gets all the file names as 
 parameters not just literally \*.xml
 * Add error handling to check that the collection exists
 * Create Windows version



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

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



[jira] [Commented] (SOLR-6900) bin/post improvements needed

2015-01-13 Thread Timothy Potter (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14275891#comment-14275891
 ] 

Timothy Potter commented on SOLR-6900:
--

Also, seems like the script assumes it's launched from the Solr tip ... running 
it from within the bin directory gives:

{code}
[~/dev/lw/projects/branch_5x/solr/bin]$ ./post
Collection:
Data mode: FILE
/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/java 
-classpath dist/solr-core-*.jar -Dc= -Dauto=yes 
org.apache.solr.util.SimplePostTool
Error: Could not find or load main class org.apache.solr.util.SimplePostTool
{code}

 bin/post improvements needed
 

 Key: SOLR-6900
 URL: https://issues.apache.org/jira/browse/SOLR-6900
 Project: Solr
  Issue Type: Bug
Affects Versions: 5.0, Trunk
Reporter: Erik Hatcher
Assignee: Erik Hatcher
 Fix For: 5.0, Trunk


 * Fix glob patterns.  They don't work as expected: bin/post collection1 
 \*.xml expands \*.xml such that the script gets all the file names as 
 parameters not just literally \*.xml
 * Add error handling to check that the collection exists
 * Create Windows version



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

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



[jira] [Commented] (SOLR-6900) bin/post improvements needed

2015-01-08 Thread Grant Ingersoll (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14270021#comment-14270021
 ] 

Grant Ingersoll commented on SOLR-6900:
---

I tried:
{code}
bin/post citi /foo/projects/content/citi-bike/2013-07 - Citi Bike trip 
data.csv
bin/post citi /foo/projects/content/citi-bike/2013-07\ -\ Citi\ Bike\ trip\ 
bin/post citi /foo/content/citi-bike/2013-07\ -\ Citi\ Bike\ trip\ data.csv
{code}

 bin/post improvements needed
 

 Key: SOLR-6900
 URL: https://issues.apache.org/jira/browse/SOLR-6900
 Project: Solr
  Issue Type: Bug
Affects Versions: 5.0, Trunk
Reporter: Erik Hatcher
Assignee: Erik Hatcher
 Fix For: 5.0, Trunk


 * Fix glob patterns.  They don't work as expected: bin/post collection1 
 \*.xml expands \*.xml such that the script gets all the file names as 
 parameters not just literally \*.xml
 * Add error handling to check that the collection exists
 * Create Windows version



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

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



[jira] [Commented] (SOLR-6900) bin/post improvements needed

2015-01-08 Thread Erik Hatcher (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14270017#comment-14270017
 ] 

Erik Hatcher commented on SOLR-6900:


Files with whitespace in their names does not work - needs fixing here too.

 bin/post improvements needed
 

 Key: SOLR-6900
 URL: https://issues.apache.org/jira/browse/SOLR-6900
 Project: Solr
  Issue Type: Bug
Affects Versions: 5.0, Trunk
Reporter: Erik Hatcher
Assignee: Erik Hatcher
 Fix For: 5.0, Trunk


 * Fix glob patterns.  They don't work as expected: bin/post collection1 
 \*.xml expands \*.xml such that the script gets all the file names as 
 parameters not just literally \*.xml
 * Add error handling to check that the collection exists
 * Create Windows version



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

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



[jira] [Commented] (SOLR-6900) bin/post improvements needed

2015-01-06 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14266701#comment-14266701
 ] 

ASF subversion and git services commented on SOLR-6900:
---

Commit 1649937 from [~ehatcher] in branch 'dev/trunk'
[ https://svn.apache.org/r1649937 ]

SOLR-6900: added usage to bin/post, plus some TODOs

 bin/post improvements needed
 

 Key: SOLR-6900
 URL: https://issues.apache.org/jira/browse/SOLR-6900
 Project: Solr
  Issue Type: Bug
Affects Versions: 5.0, Trunk
Reporter: Erik Hatcher
Assignee: Erik Hatcher
 Fix For: 5.0, Trunk


 * Fix glob patterns.  They don't work as expected: bin/post collection1 
 \*.xml expands \*.xml such that the script gets all the file names as 
 parameters not just literally \*.xml
 * Add error handling to check that the collection exists
 * Create Windows version



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

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



[jira] [Commented] (SOLR-6900) bin/post improvements needed

2015-01-06 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14266703#comment-14266703
 ] 

ASF subversion and git services commented on SOLR-6900:
---

Commit 1649940 from [~ehatcher] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1649940 ]

SOLR-6900: added usage to bin/post, plus some TODOs (merged from trunk r1649937)

 bin/post improvements needed
 

 Key: SOLR-6900
 URL: https://issues.apache.org/jira/browse/SOLR-6900
 Project: Solr
  Issue Type: Bug
Affects Versions: 5.0, Trunk
Reporter: Erik Hatcher
Assignee: Erik Hatcher
 Fix For: 5.0, Trunk


 * Fix glob patterns.  They don't work as expected: bin/post collection1 
 \*.xml expands \*.xml such that the script gets all the file names as 
 parameters not just literally \*.xml
 * Add error handling to check that the collection exists
 * Create Windows version



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

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



[jira] [Commented] (SOLR-6900) bin/post improvements needed

2015-01-04 Thread Erik Hatcher (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14263894#comment-14263894
 ] 

Erik Hatcher commented on SOLR-6900:


Another one: handle stdin, such that `cat data.csv | bin/post my_collection` 
works.  SimplePostTool can do this standalone.

 bin/post improvements needed
 

 Key: SOLR-6900
 URL: https://issues.apache.org/jira/browse/SOLR-6900
 Project: Solr
  Issue Type: Bug
Affects Versions: 5.0, Trunk
Reporter: Erik Hatcher
Assignee: Erik Hatcher
 Fix For: 5.0, Trunk


 * Fix glob patterns.  They don't work as expected: bin/post collection1 
 \*.xml expands \*.xml such that the script gets all the file names as 
 parameters not just literally \*.xml
 * Add error handling to check that the collection exists
 * Create Windows version



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

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



[jira] [Commented] (SOLR-6900) bin/post improvements needed

2015-01-01 Thread Alexandre Rafalovitch (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14262644#comment-14262644
 ] 

Alexandre Rafalovitch commented on SOLR-6900:
-

Also, the help message is problematic. The underlying simplepost tool talks 
about using *-h* but you can't actually use that as the first parameter is the 
collection name. A bit confusing.

 bin/post improvements needed
 

 Key: SOLR-6900
 URL: https://issues.apache.org/jira/browse/SOLR-6900
 Project: Solr
  Issue Type: Bug
Affects Versions: 5.0, Trunk
Reporter: Erik Hatcher
Assignee: Erik Hatcher
 Fix For: 5.0, Trunk


 * Fix glob patterns.  They don't work as expected: bin/post collection1 
 \*.xml expands \*.xml such that the script gets all the file names as 
 parameters not just literally \*.xml
 * Add error handling to check that the collection exists
 * Create Windows version



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

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