[jira] Created: (SOLR-622) SpellCheckComponent should build or load indices on startup and commits

2008-07-08 Thread Shalin Shekhar Mangar (JIRA)
SpellCheckComponent should build or load indices on startup and commits
---

 Key: SOLR-622
 URL: https://issues.apache.org/jira/browse/SOLR-622
 Project: Solr
  Issue Type: Improvement
  Components: spellchecker
Affects Versions: 1.3
Reporter: Shalin Shekhar Mangar
Priority: Minor
 Fix For: 1.3


SpellCheckComponent must be able to build/load spell check index on startup and 
commits. With SOLR-605, SpellCheckComponent can register an event listener for 
firstSearcher and newSearcher events and rebuild/reload indices as appropriate.

* If index uses a FSDirectory and exists on disk then just reload it or else 
build it on firstSearcher event.
* If index is built from a Solr field then re-build it on newSearcher event.

This will help avoid having to add QuerySenderListener in configuration and 
will not force people to issue build on first query.

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



[jira] Commented: (SOLR-303) Distributed Search over HTTP

2008-07-08 Thread Sean Timm (JIRA)

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

Sean Timm commented on SOLR-303:


Another option is to pass state on the number of documents and positions 
retrieved from each shard.  I have  a client layer that can do that, so it 
works, but it is complicated, maintaining state is messy, and the vast majority 
of requests are first page requests so in practice we almost never use that 
feature, but instead do exactly as is implemented here and request the full 
document count from each shard.

> Distributed Search over HTTP
> 
>
> Key: SOLR-303
> URL: https://issues.apache.org/jira/browse/SOLR-303
> Project: Solr
>  Issue Type: New Feature
>  Components: search
>Reporter: Sharad Agarwal
>Assignee: Yonik Seeley
> Fix For: 1.3
>
> Attachments: distributed.patch, distributed.patch, distributed.patch, 
> distributed.patch, distributed.patch, distributed.patch, distributed.patch, 
> distributed.patch, distributed.patch, distributed.patch, distributed.patch, 
> distributed.patch, distributed_add_tests_for_intended_behavior.patch, 
> distributed_facet_count_bugfix.patch, distributed_pjaol.patch, 
> fedsearch.patch, fedsearch.patch, fedsearch.patch, fedsearch.patch, 
> fedsearch.patch, fedsearch.patch, fedsearch.patch, fedsearch.stu.patch, 
> fedsearch.stu.patch, shards.start_rows.patch, shards_qt.patch, 
> solr-dist-faceting-non-ascii-all.patch
>
>
> Searching over multiple shards and aggregating results.
> Motivated by http://wiki.apache.org/solr/DistributedSearch

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



[jira] Resolved: (SOLR-621) Add a getAll method to NamedList

2008-07-08 Thread Yonik Seeley (JIRA)

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

Yonik Seeley resolved SOLR-621.
---

   Resolution: Fixed
Fix Version/s: 1.3

committed.

> Add a getAll method to NamedList
> 
>
> Key: SOLR-621
> URL: https://issues.apache.org/jira/browse/SOLR-621
> Project: Solr
>  Issue Type: Improvement
>Reporter: Noble Paul
>Priority: Trivial
> Fix For: 1.3
>
> Attachments: SOLR-621.patch
>
>
> It would be convenient to have a 
> List getAll(String name);
> method in NamedList

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



[jira] Issue Comment Edited: (SOLR-621) Add a getAll method to NamedList

2008-07-08 Thread Yonik Seeley (JIRA)

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

[EMAIL PROTECTED] edited comment on SOLR-621 at 7/8/08 10:48 AM:


Micro-optimization: since names will often be interned (constants), you could 
replace this code
{code}
+  if (name == null) {
+if (n == null) {
+  result.add(getVal(i));
+}
+  } else if (name.equals(n)) {
+result.add(getVal(i));
+  }
{code}
with something like this:
{code}
+  if (name == n || (n!=null && n.equals(name)) {
+  result.add(getVal(i));
+}
{code}

  was (Author: [EMAIL PROTECTED]):
Micro-optimization: since names will often be interned (constants), you 
could replace this code

+  if (name == null) {
+if (n == null) {
+  result.add(getVal(i));
+}
+  } else if (name.equals(n)) {
+result.add(getVal(i));
+  }

with something like this:

+  if (name == n || (n!=null && n.equals(name)) {
+  result.add(getVal(i));
+}
  
> Add a getAll method to NamedList
> 
>
> Key: SOLR-621
> URL: https://issues.apache.org/jira/browse/SOLR-621
> Project: Solr
>  Issue Type: Improvement
>Reporter: Noble Paul
>Priority: Trivial
> Attachments: SOLR-621.patch
>
>
> It would be convenient to have a 
> List getAll(String name);
> method in NamedList

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



[jira] Commented: (SOLR-621) Add a getAll method to NamedList

2008-07-08 Thread Yonik Seeley (JIRA)

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

Yonik Seeley commented on SOLR-621:
---

Micro-optimization: since names will often be interned (constants), you could 
replace this code

+  if (name == null) {
+if (n == null) {
+  result.add(getVal(i));
+}
+  } else if (name.equals(n)) {
+result.add(getVal(i));
+  }

with something like this:

+  if (name == n || (n!=null && n.equals(name)) {
+  result.add(getVal(i));
+}

> Add a getAll method to NamedList
> 
>
> Key: SOLR-621
> URL: https://issues.apache.org/jira/browse/SOLR-621
> Project: Solr
>  Issue Type: Improvement
>Reporter: Noble Paul
>Priority: Trivial
> Attachments: SOLR-621.patch
>
>
> It would be convenient to have a 
> List getAll(String name);
> method in NamedList

-- 
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 #492

2008-07-08 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/Solr-trunk/492/changes

--
started
Building remotely on lucene.zones.apache.org
ERROR: svn: PROPFIND request failed on '/repos/asf/lucene/solr/trunk'
svn: Connection timed out
org.tmatesoft.svn.core.SVNException: svn: PROPFIND request failed on 
'/repos/asf/lucene/solr/trunk'
svn: Connection timed out
at 
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:69)
at 
org.tmatesoft.svn.core.internal.io.dav.DAVUtil.findStartingProperties(DAVUtil.java:126)
at 
org.tmatesoft.svn.core.internal.io.dav.DAVConnection.fetchRepositoryUUID(DAVConnection.java:88)
at 
org.tmatesoft.svn.core.internal.io.dav.DAVRepository.testConnection(DAVRepository.java:85)
at 
hudson.scm.SubversionSCM$DescriptorImpl.checkRepositoryPath(SubversionSCM.java:1221)
at 
hudson.scm.SubversionSCM.repositoryLocationsExist(SubversionSCM.java:1282)
at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:335)
at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:299)
at hudson.model.AbstractProject.checkout(AbstractProject.java:567)
at 
hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:244)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:218)
at hudson.model.Run.run(Run.java:751)
at hudson.model.Build.run(Build.java:103)
at hudson.model.ResourceController.execute(ResourceController.java:70)
at hudson.model.Executor.run(Executor.java:77)
Caused by: org.tmatesoft.svn.core.SVNException: svn: PROPFIND request failed on 
'/repos/asf/lucene/solr/trunk'
svn: Connection timed out
at 
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:55)
at 
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:40)
at 
org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:532)
at 
org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:238)
at 
org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:226)
at 
org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doPropfind(DAVConnection.java:97)
at 
org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getProperties(DAVUtil.java:57)
at 
org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getResourceProperties(DAVUtil.java:62)
at 
org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getStartingProperties(DAVUtil.java:92)
at 
org.tmatesoft.svn.core.internal.io.dav.DAVUtil.findStartingProperties(DAVUtil.java:114)
... 13 more
Caused by: java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at 
org.tmatesoft.svn.core.internal.util.SVNSocketFactory.createPlainSocket(SVNSocketFactory.java:72)
at 
org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.connect(HTTPConnection.java:149)
at 
org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:275)
... 20 more
Publishing Javadoc
Recording test results



[jira] Updated: (SOLR-621) Add a getAll method to NamedList

2008-07-08 Thread Noble Paul (JIRA)

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

Noble Paul updated SOLR-621:


Attachment: SOLR-621.patch

implemented 

> Add a getAll method to NamedList
> 
>
> Key: SOLR-621
> URL: https://issues.apache.org/jira/browse/SOLR-621
> Project: Solr
>  Issue Type: Improvement
>Reporter: Noble Paul
>Priority: Trivial
> Attachments: SOLR-621.patch
>
>
> It would be convenient to have a 
> List getAll(String name);
> method in NamedList

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