Re: Solr Problem

2016-02-20 Thread Shawn Heisey
On 2/20/2016 8:03 PM, Pavan Kumar wrote: > We have one application with postgres DB and Java front end.Now we > have written some procedure by > *IN*and *OUT*parameter and the front team used to use that IN & OUT > parameter and fetch the data from DB .The requirement > is that, the same thing we h

Solr Problem

2016-02-20 Thread Pavan Kumar
Hi Sir, We have one application with postgres DB and Java front end.Now we have written some procedure by *IN* and *OUT* parameter and the front team used to use that IN & OUT parameter and fetch the data from DB .The requirement is that, the same thing we have to implement by using Solr. We have

Re: solr problem after indexing, shutdown and startup

2014-05-21 Thread Erick Erickson
Sending 32K docs at a time is a bit of overkill, I usually stay around 1,000. I agree with Michael, it's rarely a Good Thing to do the commit in line, except (perhaps) at the very end. Just let the autocommit settings take care of it for you. Your log shows numbers of "overlapping ondeck searcher

Re: solr problem after indexing, shutdown and startup

2014-05-21 Thread Michael Della Bitta
Two possibly unrelated things: 1. Don't commit until the end. 2. Consider not optimizing at all. You might want to look at your autocommit settings in your solrconfig.xml. You probably want soft commits set at something north of 10 seconds, and hard commits set to openSearcher=false with a maxTi

SOLR problem with full-import and shards

2014-04-11 Thread Wojciech Jaworski
Hi, I built an Apache SOLR cloud (version 4.7.0) with 3 shards. I chose implicit routing mechanism while creating new collection (one shard per month, fields with date format MM use as shardId). I configured DataImportHandler with database as a data source. Finally I run full-import (data

Re: utf-8 tomcat and solr problem

2011-01-06 Thread Yonik Seeley
On Thu, Jan 6, 2011 at 2:23 AM, Julian Hille wrote: > Hi, > > if i search for a german umlaut like ä or ö i get something like weird > conversions from latin to utf in query response. The encoding of the result > is ok, > but not the "you queried for this" part. There is my "ä" wrong encoded.  

utf-8 tomcat and solr problem

2011-01-06 Thread Julian Hille
Hi, if i search for a german umlaut like ä or ö i get something like weird conversions from latin to utf in query response. The encoding of the result is ok, but not the "you queried for this" part. There is my "ä" wrong encoded. There it seems like it had been interpreted from latin to utf 8.

Re: Spatial Solr: problem with multiValued PointType

2010-06-01 Thread Darren Govoni
This seems to be a problem (from my limited understanding). I encountered the same thing. And the problem is that you can have results that independently match the constraints for latitude and longitude, but the corresponding points would not match (i.e. with separate fields there are no longer po

Re: Spatial Solr: problem with multiValued PointType

2010-05-06 Thread Pointbreak
On Wed, 05 May 2010 06:00 -0700, "Grant Ingersoll" wrote: > > On May 4, 2010, at 7:20 AM, pointbreak+s...@ml1.net wrote: > > > I want to link documents to multiple spatial points, and filter > > documents based on a bounding box. I was expecting that the > > solr.PointType would help me with tha

Re: Spatial Solr: problem with multiValued PointType

2010-05-05 Thread Grant Ingersoll
On May 4, 2010, at 7:20 AM, pointbreak+s...@ml1.net wrote: > I want to link documents to multiple spatial points, and filter > documents based on a bounding box. I was expecting that the > solr.PointType would help me with that, but run into a problem. When I > create a filter, it seems that Solr

Spatial Solr: problem with multiValued PointType

2010-05-04 Thread pointbreak+solr
I want to link documents to multiple spatial points, and filter documents based on a bounding box. I was expecting that the solr.PointType would help me with that, but run into a problem. When I create a filter, it seems that Solr matches the latitude and longitude of the PointType separately. Coul

Re: Embedded Solr problem

2010-02-08 Thread Sven Maurmann
Hi Ranveer, I assume that you have enough knowlesge in Java. You should essentially your code for instantiating the server (depending on what you intend to do this may be done in a separate class or in a method of the class doing the queries). Then you use this instance to handle all the queries

Re: Embedded Solr problem

2010-02-07 Thread Ranveer Kumar
Hi Sven, thanks for reply. yes i notice that every time when request, new instance is created of solr server. could you please guide me to do the same ( initialization to create an instance of SolrServer, once during first request). On Mon, Feb 8, 2010 at 2:11 AM, Sven Maurmann wrote: > Hi, > >

Re: Embedded Solr problem

2010-02-07 Thread Sven Maurmann
Hi, would it be possible that you instantiate a new instance of your SolrServer every time you do a query? You should use the code you quoted in your mail once during initialization to create an instance of SolrServer (the interface being implemented by EmbeddedSolrServer) and subsquently use th

Embedded Solr problem

2010-02-07 Thread Ranveer Kumar
Hi All, I am still very new to solr. Currently I am facing problem to use EmbeddedSolrServer. following is my code: File home = new File("D:/ranveer/java/solr_home/solr/first"); CoreContainer coreContainer = new CoreContainer(); SolrConfig config = null; config = new SolrConfig(ho

Re: SOLR Problem with special chars

2009-01-21 Thread Kraus, Ralf | pixelhouse GmbH
Otis Gospodnetic schrieb: now it works : positionIncrementGap="100"> words="stopwords.txt"/> max="50" /> language="German" /> protected="protwords.txt

Re: SOLR Problem with special chars

2009-01-21 Thread Kraus, Ralf | pixelhouse GmbH
Otis Gospodnetic schrieb: Ralf, Can you paste the part of your schema.xml where you defined the relevant field? Otis Sure ! positionIncrementGap="100"> language="German" />

Re: SOLR Problem with special chars

2009-01-20 Thread Otis Gospodnetic
January 20, 2009 11:35:38 AM > Subject: SOLR Problem with special chars > > Hello, > > My string in my DB is like "Kellogs, Corn- (Flakes)" > > When I search with "Kellogs" or "Corn" or "Flakes" I cant find the entry in > my > index :-( > Is there something I missing ? > > Greets, > > -- Ralf Kraus

SOLR Problem with special chars

2009-01-20 Thread Kraus, Ralf | pixelhouse GmbH
Hello, My string in my DB is like "Kellogs, Corn- (Flakes)" When I search with "Kellogs" or "Corn" or "Flakes" I cant find the entry in my index :-( Is there something I missing ? Greets, -- Ralf Kraus

Tomcat Solr Problem

2007-10-11 Thread Nishant Soni
Unable to get solr up in tomcat. Im getting the following log NFO: Using JNDI solr.home: E:/test/workspace/reviewGist/solr/home Oct 11, 2007 1:48:13 PM org.apache.solr.core.Config setInstanceDir INFO: Solr home set to 'E:/test/workspace/reviewGist/solr/home/' Oct 11, 2007 1:48:13 PM org.apache.sol