Re: character encoding issue...

2013-10-31 Thread Chris
Hi Rajani, I followed the steps exactly as in http://zensarteam.wordpress.com/2011/11/25/6-steps-to-configure-solr-on-apache-tomcat-7-0-20/ However, when i send a query to this new instance in tomcat, i again get the error - Scheduled Groups Maintenance In preparation for the new release roll-

Re: unable to load core after cluster restart

2013-10-31 Thread Shawn Heisey
On 10/31/2013 9:18 PM, kaustubh147 wrote: > Glassfish 3.1.2.2 > Solr 4.5 > Zookeeper 3.4.5 > > We have set up a SolrCloud with 4 Solr nodes and 3 zookeeper instances. > > I start the cluster for the first time with bootstrap_conf= true All the > nodes starts property.. I am creating cores

Re: Simple (?) zookeeper question

2013-10-31 Thread Jack Park
After digging deeper (slow for a *nix newbee), I uncovered issues with the java installation. A step in installation of Oracle Java has it that you -install "java" with the path to /bin/java. That done, zookeeper seems to be running. I booted three cores (on the same box) -- this is the simple one

Re: Problem with glassfish and zookeeper 3.4.5

2013-10-31 Thread kaustubh147
Thanks Shawn, I found a bug in my code, it was creating too many CloudSolrServer objects. Thanks Kaustubh -- View this message in context: http://lucene.472066.n3.nabble.com/Problem-with-glassfish-and-zookeeper-3-4-5-tp4097635p4098732.html Sent from the Solr - User mailing list archive at Nab

unable to load core after cluster restart

2013-10-31 Thread kaustubh147
Hi, Glassfish 3.1.2.2 Solr 4.5 Zookeeper 3.4.5 We have set up a SolrCloud with 4 Solr nodes and 3 zookeeper instances. I start the cluster for the first time with bootstrap_conf= true All the nodes starts property.. I am creating cores (with the same name) on all 4 instances. I can add

RE: dropping noise words and maintaining the relevancy

2013-10-31 Thread Susheel Kumar
Thanks, Kranti. Nice suggestion. I'll try it out. -Original Message- From: Kranti Parisa [mailto:kranti.par...@gmail.com] Sent: Thursday, October 31, 2013 3:18 PM To: solr-user@lucene.apache.org Subject: Re: dropping noise words and maintaining the relevancy One possible approach is you

Error with CollapsingQParserPlugin when trying to use tagging

2013-10-31 Thread dboychuck
I ran into an error with the CollapsingQParserPlugin when trying to use it in tandem with tagging I get the following error whenever I use {!tag} in the same request as {!collapse field=groupid} Oct 31, 2013 6:43:56 PM org.apache.tomcat.util.http.Cookies processCookieHeader INFO: Cookies: Invalid

Re: How to get similarity score between 0 and 1 not relative score

2013-10-31 Thread sushil sharma
Thanks, Anshum. That really helps. Now my question is   Our mid to long term vision is to automate the searches and send results to users which have higher score. For e.g. records with score higher than 90% or so, we would like to include in a report and send across to users. But since the score

Re: Error with CollapsingQParserPlugin when trying to use tagging

2013-10-31 Thread dboychuck
Here is an example URL that gives the error: solr/productindex/productQuery?fq={!collapse%20field=groupid}&fq=discontinued:false&fq={!tag=manufacturer_string}manufacturer_string:(%22delta%22%20OR%20%22kohler%22)&fq=siteid:82&sort=score%20desc&facet=true&start=0&rows=48&fl=productid,manufacturer,un

Simple (?) zookeeper question

2013-10-31 Thread Jack Park
Latest zookeeper is installed on an Ubuntu server box. Java is 1.7 latest build. whereis points to java just fine. /etc/zookeeper is empty. boot zookeeper from /bin as sudo ./zkServer.sh start Console says "Started" /etc/zookeeper now has a .pid file In another console, ./zkServer.sh status return

Re: How to get similarity score between 0 and 1 not relative score

2013-10-31 Thread Toby Lazar
I think you are looking for something like this, though you can omit the fq section: http://localhost:8983/solr/collection/select?abc=text:bob&q={!func}scale(product(query($abc),1),0,1)&fq={! frange l=0.9}$q Also, I don't understand all the fuss about normalized scores. In the linked example, I

Re: Replacing Google Mini Search Appliance with Solr?

2013-10-31 Thread Furkan KAMACI
We also use Nutch at our environment. Nutch crawls the data and it to Solr for indexing. I have implemented a custom search API that interacts with my Solr indexes cos of I don't want to expose my indexes directly to outside. You can easily configure and build up what you want with such kind of co

HdfsDirectory Implementation

2013-10-31 Thread Josh Clum
Hello, I refactored out the HDFS directory implementation from Solr to use in my own project and was surprised to see how it performed. I'm using the both the HDFSDirectory class and the HdfsDirectoryFactory class. On my local machine when using the cache there was a significant speed up. It was

Lock question

2013-10-31 Thread la...@protulae.com
Happy Halloween all, I have a use case in which I have a custom indexer updating a Solr index. There is supposed to be no index updating via Solr itself - Solr is just a query tool in this case. However, Solr insists on creating an UpdateHandler on startup, which creates a SolrIndexWrite

Re: dropping noise words and maintaining the relevancy

2013-10-31 Thread Kranti Parisa
One possible approach is you can populate the titles in a field (say exactMatch) and point your search query to exactMatch:"160 Associates LP" OR text:""160 Associates LP" assuming that you have all the text populated into the field called "text" you can also use field level boosting with the abov

dropping noise words and maintaining the relevancy

2013-10-31 Thread Susheel Kumar
Hello, We have a very particular requirement of dropping noise words (LP, LLP, LLC, Corp, Corporation, Inc, Incoporation, PA, Professional Association, Attorney at law, GP, General Partnership etc.) at the end of search key but maintaining the relevancy. For e.g. If user search for "160 Associ

Re: [SOLVED] ReplicationHandler - SnapPull failed to download a file completely.

2013-10-31 Thread Shalom Ben-Zvii Kazaz
Shawn, Thank you again for your help. The problem appeared to be with httpclient. I turned on debug logging for all libraries and saw a message "Garbage in response" coming from httpclient just before the failure. this is a log snippet: 31 Oct 2013 18:10:40,360 [explicit-fetchindex-cmd] DEBUG D

Re: ReplicationHandler - SnapPull failed to download a file completely.

2013-10-31 Thread Shawn Heisey
On 10/31/2013 7:26 AM, Shalom Ben-Zvii Kazaz wrote: > Shawn, Thank you for your answer. > for the purpose of testing it we have a test environment where we are not > indexing anymore. We also disabled the DIH delta import. so as I understand > there shouldn't be any commits on the master. > I also

Re: safe to delete old index

2013-10-31 Thread Christopher Gross
It's all good. I actually read it "right" the first time. :) Thanks Greg! -- Chris On Thu, Oct 31, 2013 at 10:58 AM, Greg Walters wrote: > * You might want to check that the index is NOT in use * > > (It's still early and dark here!) > > Greg > > On 2013Oct 31,, at 9:57 AM, Greg Walters wrot

Re: [SolrCloud-Solrj] Document router problem connecting to Zookeeper ensemble

2013-10-31 Thread Alessandro Benedetti
You are right man ! The version of Solr 4.5, the version of SolrJ is 4.4 . No the error seems to have solved, i have other problems, but i let you know. i have been so stupid, thank you very much ! 2013/10/30 Anshum Gupta > Hi Alessandro, > > What version of Solr are you running and what's th

Re: AJAX Solr returning the default wildcard *:* and not what I query

2013-10-31 Thread Reyes, Mark
I just tweaked the reuters.js example to listen to the window.location object and it resolved the wildcard returns. I put it on pastebin, http://pastebin.com/GyC4RMva Thanks for the reply everyone, Mark --- P.

Re: safe to delete old index

2013-10-31 Thread Greg Walters
* You might want to check that the index is NOT in use * (It's still early and dark here!) Greg On 2013Oct 31,, at 9:57 AM, Greg Walters wrote: > Hi Chris, > > In my experience it is safe to delete older indexes like that. You might want > to check if the index is in use prior to deleting it

Re: safe to delete old index

2013-10-31 Thread Greg Walters
Hi Chris, In my experience it is safe to delete older indexes like that. You might want to check if the index is in use prior to deleting it via the `lsof` command on linux or the equivalent on other platforms. I've found that most times, if the index isn't the one specified in index.properties

Highlight: simple.pre/post not being applied always

2013-10-31 Thread Andy Pickler
Solr: 4.5.1 I'm sending in a query of "july" and getting back the results and highlighting I expect with one exception: @@@hl@@@Julie@@@endhl@@@ A #Month:July The simple.pre of @@@hl@@@ and simple.post of @@@endhl@@@ is not being applied to the one case of the field "#Month:July", even

Re: ReplicationHandler - SnapPull failed to download a file completely.

2013-10-31 Thread Shalom Ben-Zvii Kazaz
Shawn, Thank you for your answer. for the purpose of testing it we have a test environment where we are not indexing anymore. We also disabled the DIH delta import. so as I understand there shouldn't be any commits on the master. I also tried with 50:50:50 and get the same failure. I tried changin

Re: Query OR operator triggers weird exception

2013-10-31 Thread michael.boom
After restarting my servers this was the first error i got when trying to make the same query: { "responseHeader":{ "status":500, "QTime":336, "params":{ "lowercaseOperators":"true", "indent":"true", "q":"text:\"blue cat\"", "distrib":"false", "stopword

safe to delete old index

2013-10-31 Thread Christopher Gross
I have Solr 4.1 running in the SolrCloud mode. My largest collection has 2 index directories (and an index.properties & replication.properties in that directory). Is it safe to remove the older index not listed in index.properties? I'm running low on disk space, otherwise I'd have just left it a

Re: Query OR operator triggers weird exception

2013-10-31 Thread michael.boom
I also narrowed my problem to the text field. simple query : title:"red shoes" works but text:"red shoes" does not. Could you extend a little bit how could my schema omitted position information? I'm not really sure what you mean by that. Thank you! - Thanks, Michael -- View this

Re: Query OR operator triggers weird exception

2013-10-31 Thread michael.boom
Thanks Jack! Some more info: I looked a little bit and tried the problem query, undistributed, on each shard: shard2_replica1 and shard2_replica2 throw this error: "responseHeader":{ "status":500, "QTime":2, "params":{ "lowercaseOperators":"true", "indent":"true", "q":

Re: Query OR operator triggers weird exception

2013-10-31 Thread Jack Krupansky
Maybe your schema has "omitted" position information for the "text" field which is required to query phrases. That would throw an exception on every server for a distributed query. Still, that does seem like an odd exception for a simple query problem. -- Jack Krupansky -Original Message-

Query OR operator triggers weird exception

2013-10-31 Thread michael.boom
I run a set of queries using the AdminUI and some of them trigger a weird error: "error": { "msg": "org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request:... "code": 500 } Here's the pattern, using the edismax parser: title:"blue ha

RE: solr 4.5.0 configuration Error: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Could not load config file .../solrconfig.xml

2013-10-31 Thread Elena Camossi
Thanks Shawn, > > Error loading class 'solr.clustering.ClusteringComponent' > > > > Please check your logs for more information Log4j > > (org.slf4j.impl.Log4jLoggerFactory) > > TimeLevel Logger Message > > 17:36:43WARNSolrResourceLoader Can't find (or read) > > directory t

Re: Phrase query combined with term query for maximum accuracy

2013-10-31 Thread michael.boom
One more thing i just noticed: if for collection_US i try to search for title:"blue hat"^100 OR text:"blue hat"^50-> i get the same error but if i search for : title:"blue hat"^100 OR text:"bluehat"^50 -> it works fine - Thanks, Michael -- View this message in context: http://lucen

Re: Phrase query combined with term query for maximum accuracy

2013-10-31 Thread michael.boom
Thanks Jack! I tried it and i get a really funny behaviour: I have two collections, having the same solrconfig.xml and the same schema definition, except for the type of some fields, which in collection_DE are customized for German languange and in collection_US for English

Re: Unable to add mahout classifier

2013-10-31 Thread Koji Sekiguchi
Caused by: java.lang.ClassCastException: class com.mahout.solr.classifier.CategorizeDocumentFactory at java.lang.Class.asSubclass(Unknown Source) at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:433) at org.apache.solr.core.SolrResourceLoad

Re: AJAX Solr returning the default wildcard *:* and not what I query

2013-10-31 Thread Raymond Wiker
The parameters indicate a jQuery.ajax call with result type "jsonp" - a