Re: Errors when implementing VelocityResponseWriter

2011-02-14 Thread Erik Hatcher
looks like you're missing the Velocity JAR. It needs to be in some Solr visible lib directory. With 1.4.1 you'll need to put it in /lib. In later versions, you can use the elements in solrconfig.xml to point to other directories. Erik On Feb 14, 2011, at 10:41 , McGibbney, Lewis Jo

carrot2 clustering component error

2011-02-14 Thread Isha Garg
help me out of this error: java.lang.NoClassDefFoundError: org/apache/solr/util/plugin/SolrCoreAware

Re: Which version of Solr?

2011-02-14 Thread David Smiley (@MITRE.org)
Wow; I'm glad you figured it out -- sort of. FYI, in the future, don't hijack email threads to talk about a new subject. Start a new thread. ~ David p.s. yes, I'm working on the 2nd edition. - Author: https://www.packtpub.com/solr-1-4-enterprise-search-server/book -- View this message in

Re: slave out of sync

2011-02-14 Thread Bill Bell
We wrote a utility that looks at the index version on both slaves and complains if they are not at the same version... Bill On 2/14/11 5:19 PM, "Tri Nguyen" wrote: >Hi, > >We're thinking of having a master-slave configuration where there are >multiple >slaves. Let's say during replication, o

Re: Which version of Solr?

2011-02-14 Thread Lance Norskog
II! I feel your pain! On Mon, Feb 14, 2011 at 3:27 PM, Jeff Schmidt wrote: > Wow,  okay, it's Cassandra's fault... :) > > I create unit tests to use HttpClient and even HttpURLConnection, and the > former got the non-response from the server, and the latter got unexpected > end

Re: Difference between Solr and Lucidworks distribution

2011-02-14 Thread Lance Norskog
Right. LWE binaries are distributed for free, and may be used for non-production purposes. For a production deployment, separate subscriptions are required. It is effectively the same as requiring payment for a production deployment license bundled with a support subscription. On Sun, Feb 13, 2011

Re: Faceting Query

2011-02-14 Thread rajini maski
I am also working on same feature of solr 4.0 And I have doubt in the results am getting. I will post the cases here. If anyone know why is it so,Please revert back... I run a normal facet query with q parameter q=*:* and did facet=on &facet.field=stock&facet.filed=place&facet.field=quantity&fac

Re: boosting results by a query?

2011-02-14 Thread Ryan McKinley
found something that works great! in 3.1+ we can sort by a function query, so: &sort=query({!lucene v='field:value'}) desc, score desc will put everything that matches 'field:value' first, then order the rest by score check: http://wiki.apache.org/solr/FunctionQuery#Sort_By_Function On Fri,

Re: Keeping Tokens Whole by Force?

2011-02-14 Thread Tavi Nathanson
Thanks, that's very helpful! On Mon, Feb 14, 2011 at 5:05 PM, Sujit Pal wrote: > Why not use the Keyword attribute (setKeyword(true)) when you see an > email. If the keyword attribute is set, skip the tokenfilters in the > chains below it. There is also a KeywordMarkerFilter which does this > (t

Re: Keeping Tokens Whole by Force?

2011-02-14 Thread Sujit Pal
Why not use the Keyword attribute (setKeyword(true)) when you see an email. If the keyword attribute is set, skip the tokenfilters in the chains below it. There is also a KeywordMarkerFilter which does this (this is done in SnowballPorterStemFilterFactory, maybe also other places, but this is one p

Keeping Tokens Whole by Force?

2011-02-14 Thread Tavi Nathanson
Hi, I have a Tokenizer that ensures emails are kept whole, but I then run the token stream through a set of filters that inevitably breaks up the email back into its components. Some of these filters are proprietary, and I can't modify them. It seems hacky to include an EmailRecoveryFilter at the

rollback to other versions of index

2011-02-14 Thread Tri Nguyen
Hi, Does solr version each index build?  We'd like to be able to rollback to not just a previous version but maybe a few version before the current one. Thanks, Tri

slave out of sync

2011-02-14 Thread Tri Nguyen
Hi, We're thinking of having a master-slave configuration where there are multiple slaves.  Let's say during replication, one of the slaves does not replicate properly. How will we dectect that the 1 slave is out of sync? Tri

schema.xml configuration for file names?

2011-02-14 Thread alan bonnemaison
Hello! We receive from our suppliers hardware manufacturing data in XML files. On a typical day, we got 25,000 files. That is why I chose to implement Solr. The file names are made of eleven fields separated by tildas like so CTCA~PRE~PREP~1010123~ONTDTVP5A~41~P~R16-500~000912239878~20110125~212

Re: Which version of Solr?

2011-02-14 Thread Jeff Schmidt
Wow, okay, it's Cassandra's fault... :) I create unit tests to use HttpClient and even HttpURLConnection, and the former got the non-response from the server, and the latter got unexpected end of file. But, if I use curl or telnet, things would work. Anyway, I noticed (Mac OS X 10.6.6): [ima

Re: Deploying Solr CORES on OVH Cloud

2011-02-14 Thread William Bell
The first two questions are almost like religion. I am not sure we want to start a debate. Core setup is fairly easy. Add a solr.xml file and subdirs one per core (see example/) directory. Make sure you use the right URL for the admin console. On Mon, Feb 14, 2011 at 3:38 AM, Rosa (Anuncios) wro

Re: Which version of Solr?

2011-02-14 Thread Jeff Schmidt
I figured instead of trying to index content, I'd simply issue a query via SolrJ. This seems related to my problem below. I create a CommonsHttpSolrServer instance in the manner already described and in a new method: @Override public List getNodeIdsForProductId(final String pro

Re: Solr Spellcheck on Large index size

2011-02-14 Thread tjpoe
I know this is old, but I caught it while looking for some help on Spellcheck. I see that you are copying a set of fields to the field named 'text' and then coping 'text' to 'spell'. According to the documentation: http://wiki.apache.org/solr/SchemaXml#Copy_Fields "no copy feeds into another cop

Multicore boosting to only 1 core

2011-02-14 Thread Tanner Postert
I have a multicore system and I am looking to boost results by date, but only for 1 core. Is this at all possible? Basically one of the core's content is very new, and changes all the time, and if I boost everything by date, that core's content will almost always be at the top of the results, so I

Re: Guidance for event-driven indexing

2011-02-14 Thread Rich Cariens
Thanks Jan, I don't think I want to tie up a thread on two boxes waiting for an UpdateRequestProcessor to finish. I'd prefer to offload it all to the target shards. And a special JMSUpdateHandler feels like overkill. I *think* I'm really just looking for a simple API that allows me to add a SolrIn

Solr 1.4 requestHandler "update" Runtime disable/enable

2011-02-14 Thread gzyl
Is there a possibility at the runtime to disable or enable of update handler? I have two servers and would like to turn off the update handler on master. Then replicate master to slave and switch slave to master. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-1-4-req

Re: Solr seems to be using partial words to do sort by

2011-02-14 Thread Michael Hayes
Thanks for the help. You were right that it did change from text to string and I think I forgot to restart the server to get the new schema loaded. But I did create a new title_sort field of type "alphaOnlySort" and that worked. Michael On Feb 14, 2011, at 10:10 AM, Jan Høydahl wrote: > Hi,

Re: Guidance for event-driven indexing

2011-02-14 Thread Jan Høydahl
Hi, One option would be to keep the JMS listener as today but move the downloading and transforming part to a SolrUpdateRequestProcessor on each shard. The benefit is that you ship only a tiny little SolrInputDocument over the wire with a reference to the doc to download, and do the heavy lifting

Re: Solr seems to be using partial words to do sort by

2011-02-14 Thread Jan Høydahl
Hi, Your schema says that title is type="string", so this should work. However, has title always been "string", or have you changed it from "text" without doing a complete re-index at some point? A few hints: * When using type="string", you will not get matches for each single word in your cat

Guidance for event-driven indexing

2011-02-14 Thread Rich Cariens
Hello, I've built a system that receives JMS events containing links to docs that I must download and index. Right now the JMS receiving, downloading, and transformation into SolrInputDoc's happens in a separate JVM that then uses Solrj javabin HTTP POSTs to distribute these docs across many index

Solr seems to be using partial words to do sort by

2011-02-14 Thread Michael Hayes
I am trying what I think is a very simple sort with Solr but my results are confusing. It appears that Solr is using any word in the field I want to sort on to do the sort. I am returning only the sorted field (just for this example) and asking that it be sorted desc. I am using Solr 1.4.1 He

Errors when implementing VelocityResponseWriter

2011-02-14 Thread McGibbney, Lewis John
Hello List, I am currently trying to implement the above in Solr 1.4.1. Having moved velocity directory from $SOLR_DIST/contrib/velocity/src/main/solr/conf to my webapp /lib directory, then adding queryResponseWriter name="blah" and class="blah" followed by the responseHandler specifics I am sh

Re: SolrCloud Feedback

2011-02-14 Thread Jan Høydahl
Some more comments: f) For consistency, the JAVA OPTIONS should all be prefixed with solr.* even if they are related to embedded ZK -Dsolr.hostPort=8900 -Dsolr.zkRun -Dsolr.zkHost=localhost:9900 -Dsolr.zkBootstrap_confdir=./solr/conf g) I often share parts of my config between cores, e.g. a

Lily 0.3 is released

2011-02-14 Thread Steven Noels
Hi all, Lily is a data/content repository that integrates HBase with SOLR: flexible content storage and automatic index maintenance - at scale. It's available under the Apache license. This release is the result of 3 months of hard work since Lily 0.2 last October. Our focus was stabilization, pe

SolrCloud - Example C not working

2011-02-14 Thread Thorsten Scherler
Hi all, I followed http://wiki.apache.org/solr/SolrCloud and everything worked fine till I tried "Example C:". I start all 4 server but all of them keep looping through: "java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at

Re: Faceting Query

2011-02-14 Thread rajini maski
This feature works in SOLR 4.0 release. You can follow this link for knowing how it works... Click here Regards Rajani Maski On Mon, Feb 14, 2011 at 4:05 PM, Isha Garg wrote: > On Friday 11 February 2011 11:34 PM,

Re: Faceting Query

2011-02-14 Thread Upayavira
Likely because it is a Solr 4.0 feature and you are using Solr 1.4.1. That'd be my guess. (Solr 4.0 is the latest greatest as yet unreleased version of Solr - numbering scheme changed to fit with that of Lucene). Upayavira On Mon, 14 Feb 2011 16:05 +0530, "Isha Garg" wrote: > On Friday 11 Febru

Deploying Solr CORES on OVH Cloud

2011-02-14 Thread Rosa (Anuncios)
Hi, I'm a bit new in Solr. I'm trying to set up a bunch of server (just for solr) on OVH cloud (http://www.ovh.co.uk/cloud/) and create new cores as needed on each server. First question: What do you recommend: Ubuntu or Debian? I mean in term od performance? Second question: Jetty or Tomc

Re: Faceting Query

2011-02-14 Thread Isha Garg
On Friday 11 February 2011 11:34 PM, Gora Mohanty wrote: On Thu, Feb 10, 2011 at 12:21 PM, Isha Garg wrote: What is facet.pivot field? PLz explain with example Does http://wiki.apache.org/solr/SimpleFacetParameters#facet.pivot not help? Regards, Gora No, it is not showing any

Re: Monitor the QTime.

2011-02-14 Thread Gora Mohanty
On Sun, Feb 13, 2011 at 7:54 AM, Lance Norskog wrote: > If you're a unix shell scripting wiz, here are a few strategies. > > Tail the logfile and filter for the string 'QTime'. The number is the > very last string in the line. So, strip the text between the timestamp > and the number- sort by the