Re: autowarmcount how to check if cache has been warmed up

2009-04-21 Thread Shalin Shekhar Mangar
On Tue, Apr 21, 2009 at 7:24 PM, sunnyfr wrote: > > Is it possible to have autowarmcount=500 with warmupTime=2751 and size=5, > where can I check up if the cache is full or not cuz really there it looks > empty still??? and commitment is done. > solr1.4 This means that Solr ran 5 queries on a n

Question on sorting

2009-04-21 Thread Mathias Herberts
Hi, I have a Solr index with an awful lot of tiny documents in it (hundreds of millions) each having a few fields. I can query the index without problem and retrieve results sorted on score. I am now exploring the possibility of sorting on other fields. The typical number of results from queries

RE: OutofMemory on Highlightling

2009-04-21 Thread Gargate, Siddharth
Here is the stack trace SEVERE: java.lang.OutOfMemoryError: Java heap space at java.lang.StringCoding$StringDecoder.decode(StringCoding.java:133) at java.lang.StringCoding.decode(StringCoding.java:173) at java.lang.String.(String.java:444) at org.apache.lucene.store

Re: Using Solr to index a database

2009-04-21 Thread Noble Paul നോബിള്‍ नोब्ळ्
delta query is for incremental imports us ethe 'query' attribute to import data On Tue, Apr 21, 2009 at 7:35 PM, ahammad wrote: > > Thanks for the link... > > I'm still a bit unclear as to how it goes. For example, lets say i have a > table called PRODUCTS, and within that table, I have the fo

RE: OutofMemory on Highlightling

2009-04-21 Thread Gargate, Siddharth
I tried disabling the documentCache but still the same issue. -Original Message- From: Koji Sekiguchi [mailto:k...@r.email.ne.jp] Sent: Monday, April 20, 2009 4:38 PM To: solr-user@lucene.apache.org Subject: Re: OutofMemory on Highlightling Gargate, Siddharth wrote: > Anybody facing

Issue with Solr Snapshots (missing .nrm file)

2009-04-21 Thread Santhosh Kumar
We had one issue with our Solr production deployment couple of weeks back. Following is more info about it. Server Setup === Platform: Sun Solaris Ultrasparc JDK: 1.5 Solr: 1.2 Index Size: ~15GB Topology: One master and two slaves Problem Statement === Every day we index

Re: Best way to index without diacritics

2009-04-21 Thread wiserweb
Amigo! Viva Solr :) Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: lupiss Date: Tue, 21 Apr 2009 16:17:04 To: Subject: Re: Best way to index without diacritics hola, gracias por contestar. sí, yo creo que esa es la clase que me servirá, pero

Re: Best way to index without diacritics

2009-04-21 Thread lupiss
hola, gracias por contestar. sí, yo creo que esa es la clase que me servirá, pero no sé cómo implementarla, podrías decirme si tu ya la haz usado, y si es así, decirme qué líneas incluíste en el schema.xml, en el config.xml, qué .jar adjuntaste, etc, todos los detalles, o incluso si tienes un ejem

filtering a query by a set of pk values

2009-04-21 Thread Craig de Stigter
Hi We have a need to filter and rank a queryset outside of solr (its a specialised spatial search) and then restrict the solr search based on that filter. Previously we were doing our filter, then passing a set of primary keys to solr like so: q = '(aerial photos) AND (pk:123^1.8 OR pk:163^1.2 OR

Re: Solr Getting values for an id

2009-04-21 Thread Raju444us
The id field and testScore fields are name value pairs for each id i have a testScore.When I search based on id how do I know the position.I there any method or api in solr which gives me the position. I have not understand the second part of your reply.Can you please tell me how I can do with

Re: Solr Getting values for an id

2009-04-21 Thread Otis Gospodnetic
You'll have to manually pull/parse those out and match them based on their positions, I think. Or make those fields non-multivalued and add additional fields instead, if their number is fixed. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > F

Solr Getting values for an id

2009-04-21 Thread Raju444us
i have a problem. I have a requirement.I indexed document something like this.The id and testScore fields are multivalued. My problem is if i search for id=1 this should return the search results with id = 1 and testScore = 90. Is there any way I can do this. Test Name 1 90 2 92 3

Re: Hierarchal Faceting Field Type

2009-04-21 Thread Nasseam Elkarra
Thank you. We tried your suggestion but we are still getting the following problem: multiValued="true"/> Sample data: level one;level two;level three; level one;level two;level threeB; When we query for: level one;level two;level three;* We are getting back : l

Re: SOLR-769 clustering

2009-04-21 Thread Stanislaw Osinski
Hi Antonio, - is there anyway to have minimum number of labels per cluster? The current search results clustering algorithms (from Carrot2) by design generate one label per cluster, so there is no way to force them to create more. What is the reason you'd like to have more labels per cluster? I

Re: Solr - clarification on date & sortable fields

2009-04-21 Thread Otis Gospodnetic
This all makes sense. You are sending a blank string for a field that expects a date (or null - no element at all - if you want it to default to NOW). So, yes, you need to either pass a valid date or don't pass that element in at all. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr

Re: query on part number not matching

2009-04-21 Thread Kevin Osborn
Or in this case, I was using DisMax. My ps was 5, but I didn't have a qs field. Setting qs to a small value did the trick. From: Yonik Seeley To: solr-user@lucene.apache.org Sent: Monday, April 20, 2009 6:09:51 PM Subject: Re: query on part number not matching

Solr - clarification on date & sortable fields

2009-04-21 Thread Wesley Small
I am sending this question out on behalf a college. Which needs a clarification on solr indexing on date and sortable fields. We have declared a field date in schema.xml like below While indexing if I don't pass any value to this field like or , I am getting the below error SEVERE: org.ap

Re: Best way to index without diacritics

2009-04-21 Thread Otis Gospodnetic
Does this help: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters?highlight=(isolatin)#head-4ebf7aea23b3d6d34a1f8314f9de17334a3e2fac Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: lupiss > To: solr-user@lucene.apache.org > Sen

Re: Delete from Solr index...

2009-04-21 Thread lupiss
Hola! ¿qué tal? Tengo un problema parecido, necesito borrar algunos índices de mi solr, ya que los di de alta mientras hacía pruebas y ahora que entregaré el proyecto necesito que no aparezcan ya, se me complica esto ya que toda la información de solr está en inglés y pués yo no lo entiendo bien,

Re: Best way to index without diacritics

2009-04-21 Thread lupiss
Hola! Yo también tengo el mismo problema, ya tengo mis índices de mis documentos cambie el charset a iso-8859-1 y ya pude ver las ñ y acentos, ahora ligué el buscador a mi aplicación y desde páginas jsp se hacen búsquedas, el problema es que cuando el usuario escribe en el text que pide el paráme

Master Slave Solr Replication Automation

2009-04-21 Thread payalsharma
We have a requirement of replicating data from one Solr set on a Linux Box to Second Solr on another Linux box. In order to achieve the same we will use the SolrCollectionDistributionScripts(snapshooter, snappuller etc) and rsync utility. Configurations: 1. Apache Solr 1.3.0 2. Machine

RE: Sort by distance from location?

2009-04-21 Thread Ensdorf Ken
I've never used them personally, but I think a function query would suit you here. Function queries allow you to define a custom function as a component of the score of a result document. Define a distance function based on the user's current location and the that of the search result, such th

Re: Using Solr to index a database

2009-04-21 Thread ahammad
Thanks for the link... I'm still a bit unclear as to how it goes. For example, lets say i have a table called PRODUCTS, and within that table, I have the following columns: NUMBER (product number) NAME (product name) PRICE How would I index all this information? Here is an example (from the link

autowarmcount how to check if cache has been warmed up

2009-04-21 Thread sunnyfr
Hi, Is it possible to have autowarmcount=500 with warmupTime=2751 and size=5, where can I check up if the cache is full or not cuz really there it looks empty still??? and commitment is done. solr1.4 thanks for your help, sunny name:queryResultCache class: org.apache.solr.search.FastL

Re: Big Problem with special characters

2009-04-21 Thread Kraus, Ralf | pixelhouse GmbH
Otis Gospodnetic schrieb: Try &debugQuery=true and see if the resulting query string makes sense. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch thx for the hint... My problem was the WhitespaceTokenizer :-( After I change back to StandardTokenizer everythign was fine !

SOLR-769 clustering

2009-04-21 Thread Antonio Eggberg
Hello: I have got the clustering working i.e SOLR-769. I am wondering - why there is a filed called "body", does it have special purpose? - can my clustering field be a copyField? basically I like to remove the urls and html? - is there anyway to have minimum number of labels per cluste