Hi,
We are using solr 1.4.1 and we need to sort our results by distance. We have
lat lons for each document in the response and our reference point.
Is it possible? I read about the spatial plugin but the does range searching:
http://blog.jayway.com/2010/10/27/geo-search-with-spatial-solr-p
Hi,
My results from solr returns about 982 documents and I use jaxb to parse them
into java objects, which takes about 469 ms, which is over my 150-200ms
threshold.
Is there a solution around this? Can I store the java objects in the index and
return them in the solr response and then seria
y to use your plugin, like how you deployed it, how
you compiled it, how
Best
Erick
On Thu, Apr 7, 2011 at 4:43 PM, Tri Nguyen wrote:
> Hi,
>
> I wrote my own parser plugin.
>
> I'm getting a NoClassCefFoundError. Any ideas why?
>
> Apr 7, 2011 1:12:43 PM org
yes.
From: Ahmet Arslan
To: solr-user@lucene.apache.org
Sent: Thu, April 7, 2011 3:23:56 PM
Subject: Re: class not found
> I wrote my own parser plugin.
>
> I'm getting a NoClassCefFoundError. Any ideas why?
Did you put jar file - that contains you custom c
Hi,
I wrote my own parser plugin.
I'm getting a NoClassCefFoundError. Any ideas why?
Apr 7, 2011 1:12:43 PM org.apache.solr.common.SolrException log
SEVERE: java.lang.NoClassDefFoundError: Could not initialize class
org.apache.solr.search.QParserPlugin
at org.apache.solr.core.SolrCore.
lucene.com/
- Original Message ----
> From: Tri Nguyen
> To: solr-user@lucene.apache.org
> Sent: Mon, February 14, 2011 7:19:58 PM
> Subject: slave out of sync
>
> Hi,
>
> We're thinking of having a master-slave configuration where there are
> multiple
>
&
Seems like one way is to write a servlet who's init method creates a TimerTask.
From: Tri Nguyen
To: solr user
Sent: Fri, February 18, 2011 6:02:44 PM
Subject: adding a TimerTask
Hi,
How can I add a TimerTask to Solr?
Tri
Hi,
How can I add a TimerTask to Solr?
Tri
gt;buffer of N last docs. Then you can freely roll back or re-index as you
>choose,
>based on time, number of docs etc.
>
> --
> Jan Høydahl, search solution architect
> Cominvent AS - www.cominvent.com
>
> On 15. feb. 2011, at 01.21, Tri Nguyen wrote:
>
>> Hi,
>>
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
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
uild your index in an hour, it's likely not big enough to
benefit from optimizing even under the old scenario
So, unless you have some evidence that your queries are performing
poorly, I would just leave the optimize step off.
Best
Erick
On Thu, Feb 10, 2011 at 7:09 PM, Tri Nguyen w
Hi,
I've read running optimize is similar to running defrag on a hard disk.
Deleted
docs are removed and segments are reorganized for faster searching.
I have a couple questions.
Is optimize necessary if I never delete documents? I build the index every
hour but we don't delete in between
I can throw DataImportHandlerException (a runtime exception) from my
entityprocessor which will force a rollback.
Tri
From: Tri Nguyen
To: solr-user@lucene.apache.org
Sent: Wed, February 9, 2011 3:50:05 PM
Subject: communication between entity processor and
ur war file have the
META-INF/context.xml JNDI setting point to that.
If you know of a way to reference CATALINA_BASE in the context.xml that would
make it easier.
On Feb 9, 2011, at 12:00 PM, Tri Nguyen wrote:
> Hi,
>
> I have a class (in a jar) that reads from properties (text) files.
Hi,
I'd like to communicate errors between my entity processor and the DataImporter
in case of error.
Should there be an error in my entity processor, I'd like the index build to
rollback. How can I do this?
I want to throw an exception of some sort. Only thing I can think of is to
force a r
Hi,
I'm scheduling solr to build every hour or so.
I'd like to do some pre and post processing for each index build. The
preprocessing would do some checks and perhaps will skip the build.
For post processing, I will do some checks and either commit or rollback the
build.
Can I write some cl
Hi,
I have a class (in a jar) that reads from properties (text) files. I have
these
files in the same jar file as the class.
However, when my class reads those properties files, those files cannot be
found
since solr reads from tomcat's bin directory.
I don't really want to put the config f
Hi,
I wrote a QParserPlugin. When I hit solr and use this QParserPlugin, the
response does not have the column names associated with the data such as:
0 29 0 {!tnav} faketn1 CA city san francisco US 10 - - 495,496,497
500,657,498,499 us:ca:san francisco faketn,fakeregression 037.74 -12
;ve only got one), but in
seperate JVMs, and on a server with enough CPU cores that hopefully the
indexing won't steal CPU the querying needs.
On 1/19/2011 2:23 PM, Tri Nguyen wrote:
> Hi,
> Are there performance issues during the index switch?
> As the size of index gets bigg
Hi,
Are there performance issues during the index switch?
As the size of index gets bigger, response time slows down? Are there any
studies on this?
Thanks,
Tri
Hi,
Maybe I'm missing something obvious.
I'm trying to use the dismax parser and it doesn't seem like I'm using it
properly.
When I do this:
http://localhost:8080/solr/cs/select?q=(poi_id:3)
I get a row returned.
When I incorporate dismax and say mm=1, no results get returned.
http://loc
what's the alternative?
--- On Tue, 1/18/11, Erick Erickson wrote:
From: Erick Erickson
Subject: Re: HTTP Status 400 - org.apache.lucene.queryParser.ParseException
To: solr-user@lucene.apache.org
Date: Tuesday, January 18, 2011, 5:24 AM
Why do you want to do this? Because toString has never
I didn't want to issue the rollback command but have solr automatically detect
exceptions and rollback should there be exceptions.
Probably there's an attribute I can configure to specify this for solr to
understand.
Tri
--- On Tue, 1/4/11, Markus Jelsma wrote:
From: Markus Jelsma
Subjec
Hi,
Is there a way to specify to abort (rollback) the data import should there be
an error/exception?
If everything runs smoothly, commit the data import.
Thanks,
Tri
Hi,
I remember going through some page that had graphs of response times based on
index size for solr.
Anyone know of such pages?
Internally, we have some requirements for response times and I'm trying to
figure out when to shard the index.
Thanks,
Tri
Hi,
I'm getting this exception when I have 2 cores as masters. Seems like one of
the cores obtains a lock (file) and then the other tries to obtain the same
one. However, the first one is not deleted.
How do I fix this?
Dec 30, 2010 4:34:48 PM org.apache.solr.handler.ReplicationHandler i
help
performance. One thing I've read is my disk should be at least 2 times the
index.
--- On Mon, 12/20/10, Tri Nguyen wrote:
From: Tri Nguyen
Subject: Re: shard versus core
To: solr-user@lucene.apache.org
Date: Monday, December 20, 2010, 4:04 AM
Hi Erick,
Thanks for the explan
. They aren't really different
solutions to
the same problem...
Hope this helps.
Erick
On Sun, Dec 19, 2010 at 4:07 AM, Tri Nguyen wrote:
> Hi,
>
> Was wondering about the pro's and con's of using sharding versus cores.
>
> An index can be split up to multiple cores
then, when the master is back:
* wipe its index (backing up dir first?)
* configure it to be a backup of the new master
* make it pull a fresh index over
But, Jan Høydahl suggested using SolrCloud. I'm going to follow up on
how that might work in that thread.
Upayavira
On Sun,
Hi,
Was wondering about the pro's and con's of using sharding versus cores.
An index can be split up to multiple cores or multilple shards.
So why one over the other?
Thanks,
tri
Hi,
In the master-slave configuration, I'm trying to figure out how to configure
the
system setup for master failover.
Does solr support master-master setup? From my readings, solr does not.
I've read about repeaters as well where the slave can act as a master. When
the
main master goes do
Hi,
I do a data import with commit=false. I get the response back saying it's idle
and
Total number of rows skipped = -1
Total number of rows processed = -1
This is the very first time after i start solr. Subsequent times it doesn't
return -1 but the rows it read from the datasource.
Why
Hi,
I'm reading the wiki.
What does q=apache mean in the url?
http://localhost:8983/solr/select/?stylesheet=&q=apache&wt=xslt&tr=example.xsl
thanks,
tri
From: Markus Jelsma
To: Tri Nguyen
Cc: solr-user@lucene.apache.org
Sent: Tue, Dece
I need to return this:
Server
ok
From: Markus Jelsma
To: solr-user@lucene.apache.org
Cc: Tri Nguyen
Sent: Tue, December 7, 2010 4:27:32 PM
Subject: Re: customer ping response
Of course! The ping request handler behaves like any other request handler
Can I have a custom xml response for the ping request?
thanks,
Tri
Hi,
After issueing a dataimport, I've noticed solr returns a response prior to
finishing the import. Is this correct? Is there anyway i can make solr not
return until it finishes?
If not, how do I ping for the status whether it finished or not?
thanks,
tri
Hi,
I'm trying to look for the solr response xsd.
Is this it here?
https://issues.apache.org/jira/browse/SOLR-17
I'd basically want to know if the data import passed or failed. I can get the
xml string and search for "completed", but would wondering if I can use and xsd
to parse the resp
another question is, can I write my own DataImportHandler class?
thanks,
Tri
From: Tri Nguyen
To: solr user
Sent: Thu, November 11, 2010 7:01:25 PM
Subject: importing from java
Hi,
I'm restricted to the following in regards to importing.
I have acce
Hi,
I'm restricted to the following in regards to importing.
I have access to a list (Iterator) of Java objects I need to import into solr.
Can I import the java objects as part of solr's data import interface (whenever
an http request to solr to do a dataimport, it'll call my java class to get
Hi,
Has anyone gotten solr to schedule data imports at a certain time interval
through configuring solr?
I tried setting interval=1, which is import every minute but I don't see it
happening.
I'm trying to avoid cron jobs.
Thanks,
Tri
010 4:41:17 AM
Subject: Re: scheduling imports and heartbeats
On Tue, Nov 9, 2010 at 10:16 PM, Tri Nguyen wrote:
> Hi,
>
> Can I configure solr to schedule imports at a specified time (say once a day,
> once an hour, etc)?
>
> Also, does solr have some sort of heartbeat mechanis
n for that..
On 10 Nov 2010 08:47, "Tri Nguyen" wrote:
Hi,
Can I configure solr to schedule imports at a specified time (say once a
day,
once an hour, etc)?
Also, does solr have some sort of heartbeat mechanism?
Thanks,
Tri
Hi,
Can I configure solr to schedule imports at a specified time (say once a day,
once an hour, etc)?
Also, does solr have some sort of heartbeat mechanism?
Thanks,
Tri
f functionality, you may need to change your build
system
so that a full import clears the index manually and then does a series of
delta-import batches.
On 10/13/2010 3:51 PM, Tri Nguyen wrote:
> Hi,
> Can I perform searches against the index while it is being imported?
> Does impor
Hi,
Can I perform searches against the index while it is being imported?
Does importing add 1 document at a time or will solr make a temporary index and
switch to that index when indexing is done?
Thanks,
Tri
46 matches
Mail list logo