Re: Solr logo poll
A 2007/4/9, Laxmilal Menaria <[EMAIL PROTECTED]>: A -LM On 4/6/07, Yonik Seeley <[EMAIL PROTECTED]> wrote: > > Quick poll... Solr 2.1 release planning is underway, and a new logo > may be a part of that. > What "form" of logo do you prefer, A or B? There may be further > tweaks to these pictures, but I'd like to get a sense of what the user > community likes. > > A) > http://issues.apache.org/jira/secure/attachment/12349897/logo-solr-d.jpg > > B) > http://issues.apache.org/jira/secure/attachment/12353535/12353535_solr-nick.gif > > Just respond to this thread with your preference. > > -Yonik > -- regards jl
Re: Solr logo poll
B On 4/9/07, James liu <[EMAIL PROTECTED]> wrote: A 2007/4/9, Laxmilal Menaria <[EMAIL PROTECTED]>: > > A > > -LM > > On 4/6/07, Yonik Seeley <[EMAIL PROTECTED]> wrote: > > > > Quick poll... Solr 2.1 release planning is underway, and a new logo > > may be a part of that. > > What "form" of logo do you prefer, A or B? There may be further > > tweaks to these pictures, but I'd like to get a sense of what the user > > community likes. > > > > A) > > http://issues.apache.org/jira/secure/attachment/12349897/logo-solr-d.jpg > > > > B) > > > http://issues.apache.org/jira/secure/attachment/12353535/12353535_solr-nick.gif > > > > Just respond to this thread with your preference. > > > > -Yonik > > > -- regards jl -- Cheolgoo
Re: Solr logo poll
My wife votes for A. :) On 4/9/07, Nitin Borwankar <[EMAIL PROTECTED]> wrote: B Yonik Seeley wrote: > Quick poll... Solr 2.1 release planning is underway, and a new logo > may be a part of that. > What "form" of logo do you prefer, A or B? There may be further > tweaks to these pictures, but I'd like to get a sense of what the user > community likes. > > A) > http://issues.apache.org/jira/secure/attachment/12349897/logo-solr-d.jpg > > B) > http://issues.apache.org/jira/secure/attachment/12353535/12353535_solr-nick.gif > > > Just respond to this thread with your preference. > > -Yonik -- Nitin Borwankar http://walruscarpenter.wordpress.comOf shoes and ships and sealing wax of cabbages and kings http://greener.comFind, Learn, Act Greener, the search engine for the planet http://tagschema.com Implementation of tag database applications [EMAIL PROTECTED] 510-872-7066 -- Michael Kimsal http://webdevradio.com
Field Term vector
What is Field Term Vector? how we can use this? Suresh
Error loading custom similarity class
Hiya, I'm currently trying to compile and load my own similarity class in Solr, and I'm having a bit of a problem. Here's what I've done so far: 1) Create the .java for the class using SweetSpotSimilarity as a model. I'm using the code below to make sure I can get this working -- my real class will do something a bit different. . package org.apache.lucene.misc; import org.apache.lucene.search.Similarity; import org.apache.lucene.search.DefaultSimilarity; public class CustomSimilarity extends DefaultSimilarity { public CustomSimilarity() { super(); } public float lengthNorm(String fieldName, int numTerms) { return (float)1.0; } public float tf(int freq) { return (float)1.0; } } . 2) Create the .jar file. (Maybe I'm doing this wrong?) > javac classpath lucene-core-nightly.jar CustomSimilarity.java > jar -cvf CustomSimilarity.jar CustomSimilarity.class 3) Put the .jar file in my solr home /lib directory. (/var/solr/lib for me) 4) Edit schema.xml with this line: 5) I'm using Jetty, and read that I may need to ensure the .jar is in the classpath, so I added this to start.config (I've tried with and without this): # solr specific jars /var/solr/lib/CustomSimilarity.jar always Then, when I fire up Jetty, I get the following error: 10:59:01.885 WARN!! [main] org.mortbay.jetty.Server.main(Server.java: 465) >08> EXCEPTION org.mortbay.util.MultiException[org.apache.solr.core.SolrException: Error loading class 'org.apache.lucene.misc.CustomSimilarity'] at org.mortbay.http.HttpServer.doStart(HttpServer.java:686) at org.mortbay.util.Container.start(Container.java:72) at org.mortbay.jetty.Server.main(Server.java:460) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.mortbay.start.Main.invokeMain(Main.java:151) at org.mortbay.start.Main.start(Main.java:476) at org.mortbay.start.Main.main(Main.java:94) org.apache.solr.core.SolrException: Error loading class 'org.apache.lucene.misc.CustomtSimilarity' at org.apache.solr.core.Config.findClass(Config.java:208) at org.apache.solr.core.Config.newInstance(Config.java:213) at org.apache.solr.schema.IndexSchema.readConfig (IndexSchema.java:363) at org.apache.solr.schema.IndexSchema. (IndexSchema.java:69) at org.apache.solr.core.SolrCore.(SolrCore.java:191) at org.apache.solr.core.SolrCore.getSolrCore(SolrCore.java:172) at org.apache.solr.servlet.SolrServlet.init(SolrServlet.java: 72) at javax.servlet.GenericServlet.init(GenericServlet.java:211) at org.mortbay.jetty.servlet.ServletHolder.initServlet (ServletHolder.java:383) at org.mortbay.jetty.servlet.ServletHolder.start (ServletHolder.java:243) at org.mortbay.jetty.servlet.ServletHandler.initializeServlets (ServletHandler.java:446) at org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets (WebApplicationHandler.java:321) at org.mortbay.jetty.servlet.WebApplicationContext.doStart (WebApplicationContext.java:509) at org.mortbay.util.Container.start(Container.java:72) at org.mortbay.http.HttpServer.doStart(HttpServer.java:708) at org.mortbay.util.Container.start(Container.java:72) at org.mortbay.jetty.Server.main(Server.java:460) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.mortbay.start.Main.invokeMain(Main.java:151) at org.mortbay.start.Main.start(Main.java:476) at org.mortbay.start.Main.main(Main.java:94) Caused by: java.lang.ClassNotFoundException: org.apache.lucene.misc.CustomSimilarity at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.net.FactoryURLClassLoader.loadClass (URLClassLoader.java:580) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java: 319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at org.apache.solr.core.Config.findClass(Config.java:192) ... 23 more [0]=org.apache.solr.core.Solr
Re: Error loading custom similarity class
On 4/9/07, mark angelillo <[EMAIL PROTECTED]> wrote: package org.apache.lucene.misc; [...] 2) Create the .jar file. (Maybe I'm doing this wrong?) > javac classpath lucene-core-nightly.jar CustomSimilarity.java > jar -cvf CustomSimilarity.jar CustomSimilarity.class This may be the problem. The path in the jar file needs to reflect the package. So the CustomSimilarity.class file needs to be in the org/apache/lucene/misc/ directory. -Yonik
Re: Error loading custom similarity class
Thanks, Yonik. I was definitely missing that. On Apr 9, 2007, at 2:08 PM, Yonik Seeley wrote: On 4/9/07, mark angelillo <[EMAIL PROTECTED]> wrote: package org.apache.lucene.misc; [...] 2) Create the .jar file. (Maybe I'm doing this wrong?) > javac classpath lucene-core-nightly.jar CustomSimilarity.java > jar -cvf CustomSimilarity.jar CustomSimilarity.class This may be the problem. The path in the jar file needs to reflect the package. So the CustomSimilarity.class file needs to be in the org/apache/ lucene/misc/ directory. -Yonik
Re: Controlling read/write access for replicated indexes
Solr's web.xml has a servlet-mapping which maps url-pattern "/update/*" to the SolrUpdateServlet. You can set up a on that to protect against inadvertent updates. Bill On 3/28/07, Jeff Rodenburg <[EMAIL PROTECTED]> wrote: I'm curious what mechanisms everyone is using to control read/write access for distributed replicated indexes. We're moving to a replication environment very soon, and our client applications (quite a few) all have configuration pointers to the URLs for solr instances. As a precaution, I don't want errant configuration values to inadvertently send write requests to read servers, as an example. As an aside, we're running solr under tomcat 5.5.x which has its own control aspects as well. Any best practices, i.e. something that's not a maintenance headache later, from those who have done this would be greatly appreciated. thanks, j.r.
Re: Solr logo poll
A Bill On 4/9/07, Michael Kimsal <[EMAIL PROTECTED]> wrote: My wife votes for A. :) On 4/9/07, Nitin Borwankar <[EMAIL PROTECTED]> wrote: > > B > > Yonik Seeley wrote: > > > Quick poll... Solr 2.1 release planning is underway, and a new logo > > may be a part of that. > > What "form" of logo do you prefer, A or B? There may be further > > tweaks to these pictures, but I'd like to get a sense of what the user > > community likes. > > > > A) > > http://issues.apache.org/jira/secure/attachment/12349897/logo-solr-d.jpg > > > > B) > > > http://issues.apache.org/jira/secure/attachment/12353535/12353535_solr-nick.gif > > > > > > Just respond to this thread with your preference. > > > > -Yonik > > > > -- > > > Nitin Borwankar > > http://walruscarpenter.wordpress.comOf shoes and ships and sealing > wax of cabbages and kings > http://greener.comFind, Learn, Act Greener, the search engine for > the planet > http://tagschema.com Implementation of tag database applications > > [EMAIL PROTECTED] > 510-872-7066 > > > -- Michael Kimsal http://webdevradio.com
Re: Question about code contribution
Perfect, thanks Otis. Nice to hear from you, btw. cheers, j On 4/6/07, Otis Gospodnetic <[EMAIL PROTECTED]> wrote: Yes, each file needs to contain the license. Look at any .java file to see what should go there and where. Otis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Simpy -- http://www.simpy.com/ - Tag - Search - Share - Original Message From: Jeff Rodenburg <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Friday, April 6, 2007 11:16:28 AM Subject: Re: Question about code contribution Whoops, typo: "...do the source code files need to contain the boilerplate Apache license." On 4/6/07, Jeff Rodenburg <[EMAIL PROTECTED]> wrote: > > If I'm contributing new source files (separate project entirely) through > JIRA, so the source code files need to contain the boilerplate Apache > license/disclaimers and the like? This is new code and a new project (C#), > and the wiki page on contributions ( > http://wiki.apache.org/solr/HowToContribute) is mostly concerned with core > Solr code. > > If there's a checklist of items that should be included, please forward or > send me the link. > > cheers, > j >
SolrSharp - a C# client API for Solr
All - I'm proud to announce a release to a new client API for Solr -- SolrSharp. SolrSharp is a C# library that abstracts the interoperation of a solr search server. This is an initial release that covers the basics of working with Solr. The library is very fleshed out, but the example has only implemented simple keyword search. I really like the library (I'm a dogfood user, for sure) because I can strongly type different types of objects to search results. There's more forthcoming, i.e. more examples, but the basics are in place. Feedback always appreciated, suggestions for improvement are nice, and helping hands are the best. Until there's a better home for it, you can download the bits from JIRA at: https://issues.apache.org/jira/browse/SOLR-205 cheers, jeff r.
Solr Scripts.conf Parsing Error
Hello, I'm having troubles getting replication to work using the supplied solr scripts. I've been doing alot of digging today, going though all the bash scripts that make all this happen using rsync. I'm pretty sure I've boiled it down to the scripts.conf file. When I make my settings in this file and try to run say rsyncd-enable, I get an error saying "no passwd for user solr". But yet, when I pass in the argument -u solr, it works just fine! My though is the scripts.conf file has bad line characters or something along those lines, however when I check it out in VI, I see nothing odd. Any help would be appeciated! This is my last step to an otherwise successful solr setup. Dan my scripts.conf file: # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. user=solr solr_hostname=localhost solr_port=8080 rsyncd_port=18080 data_dir= webapp_name=solr master_host= master_data_dir= master_status_dir= -- View this message in context: http://www.nabble.com/Solr-Scripts.conf-Parsing-Error-tf3550726.html#a9912973 Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr logo poll
i would use the first one, much more professional "Yonik Seeley" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 06/04/2007 19:51 Please respond to solr-user@lucene.apache.org To solr-user@lucene.apache.org cc Subject Solr logo poll Quick poll... Solr 2.1 release planning is underway, and a new logo may be a part of that. What "form" of logo do you prefer, A or B? There may be further tweaks to these pictures, but I'd like to get a sense of what the user community likes. A) http://issues.apache.org/jira/secure/attachment/12349897/logo-solr-d.jpg B) http://issues.apache.org/jira/secure/attachment/12353535/12353535_solr-nick.gif Just respond to this thread with your preference. -Yonik