[jira] Resolved: (SOLR-1515) Javadoc typo in SolrQueryResponse

2009-10-17 Thread Koji Sekiguchi (JIRA)

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

Koji Sekiguchi resolved SOLR-1515.
--

Resolution: Fixed

Committed revision 826321. Thanks.

> Javadoc typo in SolrQueryResponse
> -
>
> Key: SOLR-1515
> URL: https://issues.apache.org/jira/browse/SOLR-1515
> Project: Solr
>  Issue Type: Improvement
>  Components: search
>Affects Versions: 1.3
> Environment: my local MacBook pro
>Reporter: Chris A. Mattmann
>Priority: Trivial
> Fix For: 1.4
>
> Attachments: SOLR-1515.101709.Mattmann.patch.txt
>
>
> There is a minute typo in the javadoc for 
> o.a.s.request.SolrQueryResponse.java. This patch fixes that.

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



[jira] Updated: (SOLR-1515) Javadoc typo in SolrQueryResponse

2009-10-17 Thread Koji Sekiguchi (JIRA)

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

Koji Sekiguchi updated SOLR-1515:
-

Fix Version/s: (was: 1.5)
   1.4

> Javadoc typo in SolrQueryResponse
> -
>
> Key: SOLR-1515
> URL: https://issues.apache.org/jira/browse/SOLR-1515
> Project: Solr
>  Issue Type: Improvement
>  Components: search
>Affects Versions: 1.3
> Environment: my local MacBook pro
>Reporter: Chris A. Mattmann
>Priority: Trivial
> Fix For: 1.4
>
> Attachments: SOLR-1515.101709.Mattmann.patch.txt
>
>
> There is a minute typo in the javadoc for 
> o.a.s.request.SolrQueryResponse.java. This patch fixes that.

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



[jira] Updated: (SOLR-1515) Javadoc typo in SolrQueryResponse

2009-10-17 Thread Chris A. Mattmann (JIRA)

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

Chris A. Mattmann updated SOLR-1515:


Attachment: SOLR-1515.101709.Mattmann.patch.txt

- patch with javadoc fix

> Javadoc typo in SolrQueryResponse
> -
>
> Key: SOLR-1515
> URL: https://issues.apache.org/jira/browse/SOLR-1515
> Project: Solr
>  Issue Type: Improvement
>  Components: search
>Affects Versions: 1.3
> Environment: my local MacBook pro
>Reporter: Chris A. Mattmann
>Priority: Trivial
> Fix For: 1.5
>
> Attachments: SOLR-1515.101709.Mattmann.patch.txt
>
>
> There is a minute typo in the javadoc for 
> o.a.s.request.SolrQueryResponse.java. This patch fixes that.

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



[jira] Created: (SOLR-1515) Javadoc typo in SolrQueryResponse

2009-10-17 Thread Chris A. Mattmann (JIRA)
Javadoc typo in SolrQueryResponse
-

 Key: SOLR-1515
 URL: https://issues.apache.org/jira/browse/SOLR-1515
 Project: Solr
  Issue Type: Improvement
  Components: search
Affects Versions: 1.3
 Environment: my local MacBook pro
Reporter: Chris A. Mattmann
Priority: Trivial
 Fix For: 1.5


There is a minute typo in the javadoc for o.a.s.request.SolrQueryResponse.java. 
This patch fixes that.

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



[jira] Commented: (SOLR-1394) HTML stripper is splitting tokens

2009-10-17 Thread Yonik Seeley (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-1394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766952#action_12766952
 ] 

Yonik Seeley commented on SOLR-1394:


It works!  I added some tests, and committed.  Thanks again!

> HTML stripper is splitting tokens
> -
>
> Key: SOLR-1394
> URL: https://issues.apache.org/jira/browse/SOLR-1394
> Project: Solr
>  Issue Type: Bug
>  Components: Analysis
>Affects Versions: 1.4
>Reporter: Anders Melchiorsen
> Fix For: 1.4
>
> Attachments: hex-entity.patch, SOLR-1394.patch, SOLR-1394.patch
>
>
> The Solr HTML stripper is replacing any removed HTML with whitespace. This is 
> to keep offsets correct for highlighting.
> However, as was already pointed out in SOLR-42, this means that any token 
> containing an HTML entity will be split into several tokens. That makes the 
> HTML stripper completely unreliable for international text (and any text is 
> potentially interantional).
> The current code is actually deficient for BOTH highlighting and indexing, 
> where the previous incarnation (that did not insert spaces) only had problems 
> with highlighting.
> The only workaround is to not use entities at all, which is impossible in 
> some situations and inconvenient in most situations. If the client is 
> required to transform entities before handing it to Solr, it might as well be 
> required to also strip tags, and then the HTML stripper would not be needed 
> at all.
> Today, we have a better solution that can be used: offset correction. We can 
> then avoid inserting extra whitespace, but still get correct offsets. The 
> attached patch implements just that.

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



Re: Solr nightly build failure

2009-10-17 Thread Yonik Seeley
Not sure what's causing the problem with this test
(TestLBHttpSolrServer)... here's the exception.
I've just changed the check interval from 1000ms to 500ms for now...
maybe it wasn't completing in time.

Testcase: testTwoServers took 9.852 sec
Caused an ERROR
No live SolrServers available to handle this request
org.apache.solr.client.solrj.SolrServerException: No live SolrServers
available to handle this request
at 
org.apache.solr.client.solrj.impl.LBHttpSolrServer.request(LBHttpSolrServer.java:221)
at 
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
at 
org.apache.solr.client.solrj.TestLBHttpSolrServer.testTwoServers(TestLBHttpSolrServer.java:145)
Caused by: org.apache.solr.client.solrj.SolrServerException:
java.net.SocketException: Socket closed
at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:472)
at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:243)
at 
org.apache.solr.client.solrj.impl.LBHttpSolrServer.request(LBHttpSolrServer.java:205)
Caused by: java.net.SocketException: Socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
at 
org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
at 
org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
at 
org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
at 
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
at 
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
at 
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
at 
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at 
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:416)



-Yonik
http://www.lucidimagination.com



On Sat, Oct 17, 2009 at 11:24 AM,   wrote:
>
> init-forrest-entities:
>    [mkdir] Created dir: /tmp/apache-solr-nightly/build
>    [mkdir] Created dir: /tmp/apache-solr-nightly/build/web
>
> compile-solrj:
>    [mkdir] Created dir: /tmp/apache-solr-nightly/build/solrj
>    [javac] Compiling 87 source files to /tmp/apache-solr-nightly/build/solrj
>    [javac] Note: Some input files use or override a deprecated API.
>    [javac] Note: Recompile with -Xlint:deprecation for details.
>    [javac] Note: Some input files use unchecked or unsafe operations.
>    [javac] Note: Recompile with -Xlint:unchecked for details.
>
> compile:
>    [mkdir] Created dir: /tmp/apache-solr-nightly/build/solr
>    [javac] Compiling 389 source files to /tmp/apache-solr-nightly/build/solr
>    [javac] Note: Some input files use or override a deprecated API.
>    [javac] Note: Recompile with -Xlint:deprecation for details.
>    [javac] Note: Some input files use unchecked or unsafe operations.
>    [javac] Note: Recompile with -Xlint:unchecked for details.
>
> compileTests:
>    [mkdir] Created dir: /tmp/apache-solr-nightly/build/tests
>    [javac] Compiling 177 source files to /tmp/apache-solr-nightly/build/tests
>    [javac] Note: Some input files use or override a deprecated API.
>    [javac] Note: Recompile with -Xlint:deprecation for details.
>    [javac] Note: Some input files use unchecked or unsafe operations.
>    [javac] Note: Recompile with -Xlint:unchecked for details.
>
> dist-contrib:
>
> init:
>    [mkdir] Created dir: 
> /tmp/apache-solr-nightly/contrib/clustering/build/classes
>    [mkdir] Created dir: 
> /tmp/apache-solr-nightly/contrib/clustering/lib/downloads
>    [mkdir] Created dir: /tmp/apache-solr-nightly/build/docs/api
>
> init-forrest-entities:
>
> compile-solrj:
>
> compile:
>    [javac] Compiling 1 source file to /tmp/apache-solr-nightly/build/solr
>    [javac] Note: 
> /tmp/apache-solr-nightly/src/java/org/apache/solr/search/DocSetHitCollector.java
>  uses or overrides a deprecated API.
>    [javac] Note: Recompile with -Xlint:deprecation for details.
>
> make-manifest:
>    [mkdir] Created dir: /tmp/apache-solr-nightly/build/META-INF
>
> proxy.setup:
>
> check-files:
>
> get-colt:
>      [get] Getting: 
> http://repo1.maven.org/maven2/colt/colt/1.2.0/colt-1.2.0.jar
>      [get] To: 
> /tmp/apache-solr-nightly/contrib/

Re: svn commit: r824882 - in /lucene/solr/trunk: contrib/clustering/example/conf/solrconfig.xml example/example-DIH/solr/mail/conf/solrconfig.xml example/solr/conf/solrconfig.xml

2009-10-17 Thread Yonik Seeley
Here's the current diff

-  
+  

So rather than just remove the nightly option, is the right thing to
just revert to your original?

-Yonik
http://www.lucidimagination.com



On Sat, Oct 17, 2009 at 11:16 AM, Chris Hostetter
 wrote:
>
> : Done.  Makes a lot more sense to have 1.4-dev for the lib names
> : (matches what you get if you do a source build yourself) and the
> : javadoc version too.
>
> Yonik: can you remove "nightly" from the lib regexes in the example
> solrconfigs?
>
> (i'm not going to be at a computer with solr on it until at least
> monday)
>
>
>
> -Hoss
>
>


Solr nightly build failure

2009-10-17 Thread solr-dev

init-forrest-entities:
[mkdir] Created dir: /tmp/apache-solr-nightly/build
[mkdir] Created dir: /tmp/apache-solr-nightly/build/web

compile-solrj:
[mkdir] Created dir: /tmp/apache-solr-nightly/build/solrj
[javac] Compiling 87 source files to /tmp/apache-solr-nightly/build/solrj
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.

compile:
[mkdir] Created dir: /tmp/apache-solr-nightly/build/solr
[javac] Compiling 389 source files to /tmp/apache-solr-nightly/build/solr
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.

compileTests:
[mkdir] Created dir: /tmp/apache-solr-nightly/build/tests
[javac] Compiling 177 source files to /tmp/apache-solr-nightly/build/tests
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.

dist-contrib:

init:
[mkdir] Created dir: 
/tmp/apache-solr-nightly/contrib/clustering/build/classes
[mkdir] Created dir: 
/tmp/apache-solr-nightly/contrib/clustering/lib/downloads
[mkdir] Created dir: /tmp/apache-solr-nightly/build/docs/api

init-forrest-entities:

compile-solrj:

compile:
[javac] Compiling 1 source file to /tmp/apache-solr-nightly/build/solr
[javac] Note: 
/tmp/apache-solr-nightly/src/java/org/apache/solr/search/DocSetHitCollector.java
 uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.

make-manifest:
[mkdir] Created dir: /tmp/apache-solr-nightly/build/META-INF

proxy.setup:

check-files:

get-colt:
  [get] Getting: 
http://repo1.maven.org/maven2/colt/colt/1.2.0/colt-1.2.0.jar
  [get] To: 
/tmp/apache-solr-nightly/contrib/clustering/lib/downloads/colt-1.2.0.jar

get-pcj:
  [get] Getting: http://repo1.maven.org/maven2/pcj/pcj/1.2/pcj-1.2.jar
  [get] To: 
/tmp/apache-solr-nightly/contrib/clustering/lib/downloads/pcj-1.2.jar

get-nni:
  [get] Getting: 
http://download.carrot2.org/maven2/org/carrot2/nni/1.0.0/nni-1.0.0.jar
  [get] To: 
/tmp/apache-solr-nightly/contrib/clustering/lib/downloads/nni-1.0.0.jar

get-simple-xml:
  [get] Getting: 
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/simpleframework/simple-xml/1.7.3/simple-xml-1.7.3.jar
  [get] To: 
/tmp/apache-solr-nightly/contrib/clustering/lib/downloads/simple-xml-1.7.3.jar

get-libraries:

compile:
[javac] Compiling 7 source files to 
/tmp/apache-solr-nightly/contrib/clustering/build/classes
[javac] Note: 
/tmp/apache-solr-nightly/contrib/clustering/src/main/java/org/apache/solr/handler/clustering/carrot2/CarrotClusteringEngine.java
 uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.

build:
  [jar] Building jar: 
/tmp/apache-solr-nightly/contrib/clustering/build/apache-solr-clustering-1.4-dev.jar

dist:
 [copy] Copying 1 file to /tmp/apache-solr-nightly/dist

init:
[mkdir] Created dir: 
/tmp/apache-solr-nightly/contrib/dataimporthandler/target/classes

init-forrest-entities:

compile-solrj:

compile:
[javac] Compiling 1 source file to /tmp/apache-solr-nightly/build/solr
[javac] Note: 
/tmp/apache-solr-nightly/src/java/org/apache/solr/search/DocSetHitCollector.java
 uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.

make-manifest:

compile:
[javac] Compiling 43 source files to 
/tmp/apache-solr-nightly/contrib/dataimporthandler/target/classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.

compileExtras:
[mkdir] Created dir: 
/tmp/apache-solr-nightly/contrib/dataimporthandler/target/extras/classes
[javac] Compiling 1 source file to 
/tmp/apache-solr-nightly/contrib/dataimporthandler/target/extras/classes
[javac] Note: 
/tmp/apache-solr-nightly/contrib/dataimporthandler/src/extras/main/java/org/apache/solr/handler/dataimport/MailEntityProcessor.java
 uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.

build:
  [jar] Building jar: 
/tmp/apache-solr-nightly/contrib/dataimporthandler/target/apache-solr-dataimporthandler-1.4-dev.jar
  [jar] Building jar: 
/tmp/apache-solr-nightly/contrib/dataimporthandler/target/apache-solr-dataimporthand

Re: svn commit: r824882 - in /lucene/solr/trunk: contrib/clustering/example/conf/solrconfig.xml example/example-DIH/solr/mail/conf/solrconfig.xml example/solr/conf/solrconfig.xml

2009-10-17 Thread Chris Hostetter

: Done.  Makes a lot more sense to have 1.4-dev for the lib names
: (matches what you get if you do a source build yourself) and the
: javadoc version too.

Yonik: can you remove "nightly" from the lib regexes in the example 
solrconfigs?

(i'm not going to be at a computer with solr on it until at least 
monday)



-Hoss



Re: svn commit: r824882 - in /lucene/solr/trunk: contrib/clustering/example/conf/solrconfig.xml example/example-DIH/solr/mail/conf/solrconfig.xml example/solr/conf/solrconfig.xml

2009-10-17 Thread Yonik Seeley
On Thu, Oct 15, 2009 at 7:03 PM, Chris Hostetter
 wrote:
>
> : A lng time ago, Doug pointed me at one of his nightly scripts (I
> : forget if it was Lucene or Nutch)... and the first version was pretty
> : much just a copy.  I guess we could just drop the "-Dversion=nightly"?
>
> it would make the lib loading look a lot cleaner in the examples ... but
> it's not something i'm extremeely concerned about.

Done.  Makes a lot more sense to have 1.4-dev for the lib names
(matches what you get if you do a source build yourself) and the
javadoc version too.

For some reason I was thinking I'd have to modify more of the nightly
script or something - but just dropping the -Dversion=nightly works
fine (I left everything else unchanged for now... download names, base
directory in the archive, etc).

-Yonik
http://www.lucidimagination.com


Re: Solr nightly build failure

2009-10-17 Thread Yonik Seeley
fixed, and kicked of another nightly.

-Yonik
http://www.lucidimagination.com



On Sat, Oct 17, 2009 at 4:39 AM,   wrote:
>
> init-forrest-entities:
>    [mkdir] Created dir: /tmp/apache-solr-nightly/build
>    [mkdir] Created dir: /tmp/apache-solr-nightly/build/web
>
> compile-solrj:
>    [mkdir] Created dir: /tmp/apache-solr-nightly/build/solrj
>    [javac] Compiling 87 source files to /tmp/apache-solr-nightly/build/solrj
>    [javac] Note: Some input files use or override a deprecated API.
>    [javac] Note: Recompile with -Xlint:deprecation for details.
>    [javac] Note: Some input files use unchecked or unsafe operations.
>    [javac] Note: Recompile with -Xlint:unchecked for details.
>
> compile:
>    [mkdir] Created dir: /tmp/apache-solr-nightly/build/solr
>    [javac] Compiling 389 source files to /tmp/apache-solr-nightly/build/solr
>    [javac] Note: Some input files use or override a deprecated API.
>    [javac] Note: Recompile with -Xlint:deprecation for details.
>    [javac] Note: Some input files use unchecked or unsafe operations.
>    [javac] Note: Recompile with -Xlint:unchecked for details.
>
> compileTests:
>    [mkdir] Created dir: /tmp/apache-solr-nightly/build/tests
>    [javac] Compiling 177 source files to /tmp/apache-solr-nightly/build/tests
>    [javac] Note: Some input files use or override a deprecated API.
>    [javac] Note: Recompile with -Xlint:deprecation for details.
>    [javac] Note: Some input files use unchecked or unsafe operations.
>    [javac] Note: Recompile with -Xlint:unchecked for details.
>
> dist-contrib:
>
> init:
>    [mkdir] Created dir: 
> /tmp/apache-solr-nightly/contrib/clustering/build/classes
>    [mkdir] Created dir: 
> /tmp/apache-solr-nightly/contrib/clustering/lib/downloads
>    [mkdir] Created dir: /tmp/apache-solr-nightly/build/docs/api
>
> init-forrest-entities:
>
> compile-solrj:
>
> compile:
>    [javac] Compiling 1 source file to /tmp/apache-solr-nightly/build/solr
>    [javac] Note: 
> /tmp/apache-solr-nightly/src/java/org/apache/solr/search/DocSetHitCollector.java
>  uses or overrides a deprecated API.
>    [javac] Note: Recompile with -Xlint:deprecation for details.
>
> make-manifest:
>    [mkdir] Created dir: /tmp/apache-solr-nightly/build/META-INF
>
> proxy.setup:
>
> check-files:
>
> get-colt:
>      [get] Getting: 
> http://repo1.maven.org/maven2/colt/colt/1.2.0/colt-1.2.0.jar
>      [get] To: 
> /tmp/apache-solr-nightly/contrib/clustering/lib/downloads/colt-1.2.0.jar
>
> get-pcj:
>      [get] Getting: http://repo1.maven.org/maven2/pcj/pcj/1.2/pcj-1.2.jar
>      [get] To: 
> /tmp/apache-solr-nightly/contrib/clustering/lib/downloads/pcj-1.2.jar
>
> get-nni:
>      [get] Getting: 
> http://download.carrot2.org/maven2/org/carrot2/nni/1.0.0/nni-1.0.0.jar
>      [get] To: 
> /tmp/apache-solr-nightly/contrib/clustering/lib/downloads/nni-1.0.0.jar
>
> get-simple-xml:
>      [get] Getting: 
> http://mirrors.ibiblio.org/pub/mirrors/maven2/org/simpleframework/simple-xml/1.7.3/simple-xml-1.7.3.jar
>      [get] To: 
> /tmp/apache-solr-nightly/contrib/clustering/lib/downloads/simple-xml-1.7.3.jar
>
> get-libraries:
>
> compile:
>    [javac] Compiling 7 source files to 
> /tmp/apache-solr-nightly/contrib/clustering/build/classes
>    [javac] Note: 
> /tmp/apache-solr-nightly/contrib/clustering/src/main/java/org/apache/solr/handler/clustering/carrot2/CarrotClusteringEngine.java
>  uses or overrides a deprecated API.
>    [javac] Note: Recompile with -Xlint:deprecation for details.
>
> build:
>      [jar] Building jar: 
> /tmp/apache-solr-nightly/contrib/clustering/build/apache-solr-clustering-nightly.jar
>
> dist:
>     [copy] Copying 1 file to /tmp/apache-solr-nightly/dist
>
> init:
>    [mkdir] Created dir: 
> /tmp/apache-solr-nightly/contrib/dataimporthandler/target/classes
>
> init-forrest-entities:
>
> compile-solrj:
>
> compile:
>    [javac] Compiling 1 source file to /tmp/apache-solr-nightly/build/solr
>    [javac] Note: 
> /tmp/apache-solr-nightly/src/java/org/apache/solr/search/DocSetHitCollector.java
>  uses or overrides a deprecated API.
>    [javac] Note: Recompile with -Xlint:deprecation for details.
>
> make-manifest:
>
> compile:
>    [javac] Compiling 43 source files to 
> /tmp/apache-solr-nightly/contrib/dataimporthandler/target/classes
>    [javac] Note: Some input files use or override a deprecated API.
>    [javac] Note: Recompile with -Xlint:deprecation for details.
>    [javac] Note: Some input files use unchecked or unsafe operations.
>    [javac] Note: Recompile with -Xlint:unchecked for details.
>
> compileExtras:
>    [mkdir] Created dir: 
> /tmp/apache-solr-nightly/contrib/dataimporthandler/target/extras/classes
>    [javac] Compiling 1 source file to 
> /tmp/apache-solr-nightly/contrib/dataimporthandler/target/extras/classes
>    [javac] Note: 
> /tmp/apache-solr-nightly/contrib/dataimporthandler/src/extras/main/java/org/apache/solr/handler/dataimport/MailEntityProcessor.java
>  uses unchecked or unsafe operations.
>    [j

[jira] Issue Comment Edited: (SOLR-1513) Use Google Collections in ConcurrentLRUCache

2009-10-17 Thread Noble Paul (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766864#action_12766864
 ] 

Noble Paul edited comment on SOLR-1513 at 10/17/09 2:08 AM:


bq.Google Collections is already checked in as a dependency of Carrot 
clustering.

Then  we need to move it to core.

Jason . We do not need to remove the original option. We can probably add an 
extra parameter say softRef="true" or something. That way , we are not screwing 
up anything and perf benefits can be studied separately.


  was (Author: noble.paul):
bq.Google Collections is already checked in as a dependency of Carrot 
clustering.

in that e need to move it to core.

Jason . We do not need to remove the original option. We can probably add an 
extra parameter say softRef="true" or something. That way , we are not screwing 
up anything and perf benefits can be studied separately.

  
> Use Google Collections in ConcurrentLRUCache
> 
>
> Key: SOLR-1513
> URL: https://issues.apache.org/jira/browse/SOLR-1513
> Project: Solr
>  Issue Type: Improvement
>  Components: search
>Affects Versions: 1.4
>Reporter: Jason Rutherglen
>Priority: Minor
> Fix For: 1.5
>
> Attachments: google-collect-snapshot.jar, SOLR-1513.patch
>
>
> ConcurrentHashMap is used in ConcurrentLRUCache.  The Google Colletions 
> concurrent map implementation allows for soft values that are great for 
> caches that potentially exceed the allocated heap.  Though I suppose Solr 
> caches usually don't use too much RAM?
> http://code.google.com/p/google-collections/

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



[jira] Commented: (SOLR-1510) EmbeddedSolrServer should support multiple cores

2009-10-17 Thread Noble Paul (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-1510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766865#action_12766865
 ] 

Noble Paul commented on SOLR-1510:
--

bq.What about having "solr://" and "solr://core" URI formats? This would 
correspond to an embedded server. 

I don't know if  we support solr:// urls. The fact that somebody is using 
EmbeddedSolrServer means he is using it as an API. The url is no more important

> EmbeddedSolrServer should support multiple cores
> 
>
> Key: SOLR-1510
> URL: https://issues.apache.org/jira/browse/SOLR-1510
> Project: Solr
>  Issue Type: Improvement
>Reporter: Noble Paul
>Assignee: Noble Paul
>Priority: Minor
> Fix For: 1.5
>
>
> currently , EmbeddedSolrServer can be started only with single core. This 
> restriction should be removed

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



[jira] Commented: (SOLR-1513) Use Google Collections in ConcurrentLRUCache

2009-10-17 Thread Noble Paul (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766864#action_12766864
 ] 

Noble Paul commented on SOLR-1513:
--

bq.Google Collections is already checked in as a dependency of Carrot 
clustering.

in that e need to move it to core.

Jason . We do not need to remove the original option. We can probably add an 
extra parameter say softRef="true" or something. That way , we are not screwing 
up anything and perf benefits can be studied separately.


> Use Google Collections in ConcurrentLRUCache
> 
>
> Key: SOLR-1513
> URL: https://issues.apache.org/jira/browse/SOLR-1513
> Project: Solr
>  Issue Type: Improvement
>  Components: search
>Affects Versions: 1.4
>Reporter: Jason Rutherglen
>Priority: Minor
> Fix For: 1.5
>
> Attachments: google-collect-snapshot.jar, SOLR-1513.patch
>
>
> ConcurrentHashMap is used in ConcurrentLRUCache.  The Google Colletions 
> concurrent map implementation allows for soft values that are great for 
> caches that potentially exceed the allocated heap.  Though I suppose Solr 
> caches usually don't use too much RAM?
> http://code.google.com/p/google-collections/

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



Build failed in Hudson: Solr-trunk #958

2009-10-17 Thread Apache Hudson Server
See 

Changes:

[hossman] related to SOLR-201 - when I saw Shalin resolve that issue, i 
remembered noticing a while back that not declaring a defaultQuery caused all 
of the admin pages to fail with an NPE. the fix is pretty trivial

[yonik] SOLR-1394: HTMLStripCharFilter split tokens that contained entities

[shalin] Made DataImporter#loadDataConfig private and tests changed to use 
DataImporter#loadAndInt instead

[yonik] replicat on startup in the example config (commented out)

[yonik] don't cause serious errors in the example server

--
[...truncated 2210 lines...]
[junit] Running org.apache.solr.analysis.TestSynonymMap
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 4.461 sec
[junit] Running org.apache.solr.analysis.TestTrimFilter
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.543 sec
[junit] Running org.apache.solr.analysis.TestWordDelimiterFilter
[junit] Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 42.893 sec
[junit] Running org.apache.solr.client.solrj.SolrExceptionTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.662 sec
[junit] Running org.apache.solr.client.solrj.SolrQueryTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.579 sec
[junit] Running org.apache.solr.client.solrj.TestBatchUpdate
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 22.892 sec
[junit] Running org.apache.solr.client.solrj.TestLBHttpSolrServer
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 23.106 sec
[junit] Running org.apache.solr.client.solrj.beans.TestDocumentObjectBinder
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.035 sec
[junit] Running org.apache.solr.client.solrj.embedded.JettyWebappTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 27.587 sec
[junit] Running 
org.apache.solr.client.solrj.embedded.LargeVolumeBinaryJettyTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 13.107 sec
[junit] Running 
org.apache.solr.client.solrj.embedded.LargeVolumeEmbeddedTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 7.769 sec
[junit] Running org.apache.solr.client.solrj.embedded.LargeVolumeJettyTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 12.698 sec
[junit] Running 
org.apache.solr.client.solrj.embedded.MergeIndexesEmbeddedTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 10.024 sec
[junit] Running org.apache.solr.client.solrj.embedded.MultiCoreEmbeddedTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.134 sec
[junit] Running 
org.apache.solr.client.solrj.embedded.MultiCoreExampleJettyTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 8.511 sec
[junit] Running 
org.apache.solr.client.solrj.embedded.SolrExampleEmbeddedTest
[junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 37.033 sec
[junit] Running org.apache.solr.client.solrj.embedded.SolrExampleJettyTest
[junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 48.952 sec
[junit] Running 
org.apache.solr.client.solrj.embedded.SolrExampleStreamingTest
[junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 52.599 sec
[junit] Running org.apache.solr.client.solrj.embedded.TestSolrProperties
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.378 sec
[junit] Running org.apache.solr.client.solrj.request.TestUpdateRequestCodec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.64 sec
[junit] Running 
org.apache.solr.client.solrj.response.AnlysisResponseBaseTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.39 sec
[junit] Running 
org.apache.solr.client.solrj.response.DocumentAnalysisResponseTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.379 sec
[junit] Running 
org.apache.solr.client.solrj.response.FieldAnalysisResponseTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.397 sec
[junit] Running org.apache.solr.client.solrj.response.QueryResponseTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.685 sec
[junit] Running org.apache.solr.client.solrj.response.TestSpellCheckResponse
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 15.01 sec
[junit] Running org.apache.solr.client.solrj.util.ClientUtilsTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.392 sec
[junit] Running org.apache.solr.common.SolrDocumentTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.404 sec
[junit] Running org.apache.solr.common.params.ModifiableSolrParamsTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.36 sec
[junit] Running org.apache.solr.common.params.SolrParamTest
[junit] Tests run: 1, Failures: 0, Error

Solr nightly build failure

2009-10-17 Thread solr-dev

init-forrest-entities:
[mkdir] Created dir: /tmp/apache-solr-nightly/build
[mkdir] Created dir: /tmp/apache-solr-nightly/build/web

compile-solrj:
[mkdir] Created dir: /tmp/apache-solr-nightly/build/solrj
[javac] Compiling 87 source files to /tmp/apache-solr-nightly/build/solrj
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.

compile:
[mkdir] Created dir: /tmp/apache-solr-nightly/build/solr
[javac] Compiling 389 source files to /tmp/apache-solr-nightly/build/solr
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.

compileTests:
[mkdir] Created dir: /tmp/apache-solr-nightly/build/tests
[javac] Compiling 177 source files to /tmp/apache-solr-nightly/build/tests
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.

dist-contrib:

init:
[mkdir] Created dir: 
/tmp/apache-solr-nightly/contrib/clustering/build/classes
[mkdir] Created dir: 
/tmp/apache-solr-nightly/contrib/clustering/lib/downloads
[mkdir] Created dir: /tmp/apache-solr-nightly/build/docs/api

init-forrest-entities:

compile-solrj:

compile:
[javac] Compiling 1 source file to /tmp/apache-solr-nightly/build/solr
[javac] Note: 
/tmp/apache-solr-nightly/src/java/org/apache/solr/search/DocSetHitCollector.java
 uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.

make-manifest:
[mkdir] Created dir: /tmp/apache-solr-nightly/build/META-INF

proxy.setup:

check-files:

get-colt:
  [get] Getting: 
http://repo1.maven.org/maven2/colt/colt/1.2.0/colt-1.2.0.jar
  [get] To: 
/tmp/apache-solr-nightly/contrib/clustering/lib/downloads/colt-1.2.0.jar

get-pcj:
  [get] Getting: http://repo1.maven.org/maven2/pcj/pcj/1.2/pcj-1.2.jar
  [get] To: 
/tmp/apache-solr-nightly/contrib/clustering/lib/downloads/pcj-1.2.jar

get-nni:
  [get] Getting: 
http://download.carrot2.org/maven2/org/carrot2/nni/1.0.0/nni-1.0.0.jar
  [get] To: 
/tmp/apache-solr-nightly/contrib/clustering/lib/downloads/nni-1.0.0.jar

get-simple-xml:
  [get] Getting: 
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/simpleframework/simple-xml/1.7.3/simple-xml-1.7.3.jar
  [get] To: 
/tmp/apache-solr-nightly/contrib/clustering/lib/downloads/simple-xml-1.7.3.jar

get-libraries:

compile:
[javac] Compiling 7 source files to 
/tmp/apache-solr-nightly/contrib/clustering/build/classes
[javac] Note: 
/tmp/apache-solr-nightly/contrib/clustering/src/main/java/org/apache/solr/handler/clustering/carrot2/CarrotClusteringEngine.java
 uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.

build:
  [jar] Building jar: 
/tmp/apache-solr-nightly/contrib/clustering/build/apache-solr-clustering-nightly.jar

dist:
 [copy] Copying 1 file to /tmp/apache-solr-nightly/dist

init:
[mkdir] Created dir: 
/tmp/apache-solr-nightly/contrib/dataimporthandler/target/classes

init-forrest-entities:

compile-solrj:

compile:
[javac] Compiling 1 source file to /tmp/apache-solr-nightly/build/solr
[javac] Note: 
/tmp/apache-solr-nightly/src/java/org/apache/solr/search/DocSetHitCollector.java
 uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.

make-manifest:

compile:
[javac] Compiling 43 source files to 
/tmp/apache-solr-nightly/contrib/dataimporthandler/target/classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.

compileExtras:
[mkdir] Created dir: 
/tmp/apache-solr-nightly/contrib/dataimporthandler/target/extras/classes
[javac] Compiling 1 source file to 
/tmp/apache-solr-nightly/contrib/dataimporthandler/target/extras/classes
[javac] Note: 
/tmp/apache-solr-nightly/contrib/dataimporthandler/src/extras/main/java/org/apache/solr/handler/dataimport/MailEntityProcessor.java
 uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.

build:
  [jar] Building jar: 
/tmp/apache-solr-nightly/contrib/dataimporthandler/target/apache-solr-dataimporthandler-nightly.jar
  [jar] Building jar: 
/tmp/apache-solr-nightly/contrib/dataimporthandler/target/apache-solr-dataimporthand