[jira] [Commented] (LUCENE-2899) Add OpenNLP Analysis capabilities as a module

2015-05-18 Thread Sameer Maggon (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-2899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14549267#comment-14549267
 ] 

Sameer Maggon commented on LUCENE-2899:
---

@vivek you can change the file and replace the super(Version.LUCENE_44, input) 
with super(input);

 Add OpenNLP Analysis capabilities as a module
 -

 Key: LUCENE-2899
 URL: https://issues.apache.org/jira/browse/LUCENE-2899
 Project: Lucene - Core
  Issue Type: New Feature
  Components: modules/analysis
Reporter: Grant Ingersoll
Assignee: Grant Ingersoll
Priority: Minor
 Fix For: 4.9, Trunk

 Attachments: LUCENE-2899-RJN.patch, LUCENE-2899.patch, 
 OpenNLPFilter.java, OpenNLPTokenizer.java


 Now that OpenNLP is an ASF project and has a nice license, it would be nice 
 to have a submodule (under analysis) that exposed capabilities for it. Drew 
 Farris, Tom Morton and I have code that does:
 * Sentence Detection as a Tokenizer (could also be a TokenFilter, although it 
 would have to change slightly to buffer tokens)
 * NamedEntity recognition as a TokenFilter
 We are also planning a Tokenizer/TokenFilter that can put parts of speech as 
 either payloads (PartOfSpeechAttribute?) on a token or at the same position.
 I'd propose it go under:
 modules/analysis/opennlp



--
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-5940) Make post.jar report back detailed error in case of 400 responses

2014-06-11 Thread Sameer Maggon (JIRA)

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

Sameer Maggon commented on SOLR-5940:
-

Awesome! Thanks guys!

 Make post.jar report back detailed error in case of 400 responses
 -

 Key: SOLR-5940
 URL: https://issues.apache.org/jira/browse/SOLR-5940
 Project: Solr
  Issue Type: Improvement
  Components: scripts and tools
Affects Versions: 4.7
Reporter: Sameer Maggon
Assignee: Uwe Schindler
 Fix For: 4.9, 5.0

 Attachments: solr-5940.patch, solr-5940.patch, solr-5940.patch, 
 solr-5940.patch, solr-5940.patch


 Currently post.jar does not print detailed error message that is encountered 
 during indexing. In certain use cases, it's helpful to see the error message 
 so that clients can take appropriate actions.
 In 4.7, here's what gets shown if there is an error during indexing:
 SimplePostTool: WARNING: Solr returned an error #400 Bad Request
 SimplePostTool: WARNING: IOException while reading response: 
 java.io.IOException: Server returned HTTP response code: 400 for URL: 
 http://localhost:8983/solr/update
 It would be helpful to print out the msg that is returned from Solr.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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



[jira] [Commented] (SOLR-5940) Make post.jar report back detailed error in case of 400 responses

2014-06-10 Thread Sameer Maggon (JIRA)

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

Sameer Maggon commented on SOLR-5940:
-

Thanks Shalin for picking it up - let me know of any feedback!

 Make post.jar report back detailed error in case of 400 responses
 -

 Key: SOLR-5940
 URL: https://issues.apache.org/jira/browse/SOLR-5940
 Project: Solr
  Issue Type: Improvement
  Components: scripts and tools
Affects Versions: 4.7
Reporter: Sameer Maggon
Assignee: Shalin Shekhar Mangar
 Attachments: solr-5940.patch


 Currently post.jar does not print detailed error message that is encountered 
 during indexing. In certain use cases, it's helpful to see the error message 
 so that clients can take appropriate actions.
 In 4.7, here's what gets shown if there is an error during indexing:
 SimplePostTool: WARNING: Solr returned an error #400 Bad Request
 SimplePostTool: WARNING: IOException while reading response: 
 java.io.IOException: Server returned HTTP response code: 400 for URL: 
 http://localhost:8983/solr/update
 It would be helpful to print out the msg that is returned from Solr.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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



[jira] [Commented] (SOLR-5960) Add Support for Basic Authentication to Post.jar

2014-04-06 Thread Sameer Maggon (JIRA)

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

Sameer Maggon commented on SOLR-5960:
-

Thanks [~thetaphi], yes that's what I realized when I saw the code that it's 
primarily Mock Page Fetcher.

 Add Support for Basic Authentication to Post.jar
 

 Key: SOLR-5960
 URL: https://issues.apache.org/jira/browse/SOLR-5960
 Project: Solr
  Issue Type: Improvement
  Components: scripts and tools
Affects Versions: 4.7
Reporter: Sameer Maggon
Assignee: Uwe Schindler
Priority: Minor
 Fix For: 4.8, 5.0

 Attachments: solr-5960-1.patch, solr-5960.patch


 Post.jar currently doesn't support Basic Authentication if Solr is configured 
 to use Basic Authentication.
 I've attached a patch that enables users to use post.jar if their Solr is 
 configured with Basic Authentication.
 Here's the example usage:
 java -Durl=http://username:password@hostname:8080/solr/update; -jar post.jar 
 sample.xml



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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



[jira] [Created] (SOLR-5960) Add Support for Basic Authentication to Post.jar

2014-04-04 Thread Sameer Maggon (JIRA)
Sameer Maggon created SOLR-5960:
---

 Summary: Add Support for Basic Authentication to Post.jar
 Key: SOLR-5960
 URL: https://issues.apache.org/jira/browse/SOLR-5960
 Project: Solr
  Issue Type: Improvement
  Components: scripts and tools
Affects Versions: 4.7
Reporter: Sameer Maggon
Priority: Minor


Post.jar currently doesn't support Basic Authentication if Solr is configured 
to use Basic Authentication.

I've attached a patch that enables users to use post.jar if their Solr is 
configured with Basic Authentication.

Here's the example usage:

java -Durl=http://username:password@hostname:8080/solr/update; -jar post.jar 
sample.xml



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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



[jira] [Updated] (SOLR-5960) Add Support for Basic Authentication to Post.jar

2014-04-04 Thread Sameer Maggon (JIRA)

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

Sameer Maggon updated SOLR-5960:


Attachment: solr-5960.patch

Patch to support Basic Authentication

 Add Support for Basic Authentication to Post.jar
 

 Key: SOLR-5960
 URL: https://issues.apache.org/jira/browse/SOLR-5960
 Project: Solr
  Issue Type: Improvement
  Components: scripts and tools
Affects Versions: 4.7
Reporter: Sameer Maggon
Priority: Minor
 Attachments: solr-5960.patch


 Post.jar currently doesn't support Basic Authentication if Solr is configured 
 to use Basic Authentication.
 I've attached a patch that enables users to use post.jar if their Solr is 
 configured with Basic Authentication.
 Here's the example usage:
 java -Durl=http://username:password@hostname:8080/solr/update; -jar post.jar 
 sample.xml



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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



[jira] [Updated] (SOLR-5960) Add Support for Basic Authentication to Post.jar

2014-04-04 Thread Sameer Maggon (JIRA)

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

Sameer Maggon updated SOLR-5960:


Attachment: solr-5960-1.patch

Thanks [~thetaphi] for the feedback. I've updated the patch with both those 
changes  tested them in my environment.

 Add Support for Basic Authentication to Post.jar
 

 Key: SOLR-5960
 URL: https://issues.apache.org/jira/browse/SOLR-5960
 Project: Solr
  Issue Type: Improvement
  Components: scripts and tools
Affects Versions: 4.7
Reporter: Sameer Maggon
Priority: Minor
 Attachments: solr-5960-1.patch, solr-5960.patch


 Post.jar currently doesn't support Basic Authentication if Solr is configured 
 to use Basic Authentication.
 I've attached a patch that enables users to use post.jar if their Solr is 
 configured with Basic Authentication.
 Here's the example usage:
 java -Durl=http://username:password@hostname:8080/solr/update; -jar post.jar 
 sample.xml



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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



[jira] [Updated] (SOLR-5940) Make post.jar report back detailed error in case of 400 responses

2014-04-01 Thread Sameer Maggon (JIRA)

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

Sameer Maggon updated SOLR-5940:


Attachment: solr-5940.patch

Patch that adds the error returned by solr and prints out as a warning

 Make post.jar report back detailed error in case of 400 responses
 -

 Key: SOLR-5940
 URL: https://issues.apache.org/jira/browse/SOLR-5940
 Project: Solr
  Issue Type: Improvement
  Components: scripts and tools
Affects Versions: 4.7
Reporter: Sameer Maggon
 Attachments: solr-5940.patch


 Currently post.jar does not print detailed error message that is encountered 
 during indexing. In certain use cases, it's helpful to see the error message 
 so that clients can take appropriate actions.
 In 4.7, here's what gets shown if there is an error during indexing:
 SimplePostTool: WARNING: Solr returned an error #400 Bad Request
 SimplePostTool: WARNING: IOException while reading response: 
 java.io.IOException: Server returned HTTP response code: 400 for URL: 
 http://localhost:8983/solr/update
 It would be helpful to print out the msg that is returned from Solr.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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



[jira] [Created] (SOLR-5940) Make post.jar report back detailed error in case of 400 responses

2014-03-31 Thread Sameer Maggon (JIRA)
Sameer Maggon created SOLR-5940:
---

 Summary: Make post.jar report back detailed error in case of 400 
responses
 Key: SOLR-5940
 URL: https://issues.apache.org/jira/browse/SOLR-5940
 Project: Solr
  Issue Type: Improvement
  Components: scripts and tools
Affects Versions: 4.7
Reporter: Sameer Maggon


Currently post.jar does not print detailed error message that is encountered 
during indexing. In certain use cases, it's helpful to see the error message so 
that clients can take appropriate actions.

In 4.7, here's what gets shown if there is an error during indexing:

SimplePostTool: WARNING: Solr returned an error #400 Bad Request
SimplePostTool: WARNING: IOException while reading response: 
java.io.IOException: Server returned HTTP response code: 400 for URL: 
http://localhost:8983/solr/update

It would be helpful to print out the msg that is returned from Solr.




--
This message was sent by Atlassian JIRA
(v6.2#6252)

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