SOLR newbie question: How to filter the results based on my Unique Key

2009-02-28 Thread Venu Mittal
Hi List, Is it possible to filter out the duplicate results using a particular field in the document. e.g. 1 123 a...@b.com Now if I search for email = a...@b.com I get 2 search results but I want to send just one record cause my cust_id is same. Is it possible or do I need to handle i

Re: SOLR newbie question: How to filter the results based on my Unique Key

2009-02-28 Thread Venu Mittal
y to implement and stable, just make sure you use the latest patch. -- Steve On Feb 28, 2009, at 5:45 PM, Venu Mittal wrote: > Hi List, > > Is it possible to filter out the duplicate results using a particular field > in the document. > e.g. > > > 1 > 123 > a...

Re: SOLR newbie question: How to filter the results based on my Unique Key

2009-02-28 Thread Venu Mittal
Ok so I tried out XSLT transformation on the resulting xml and I must say that I am very impressed with the results. I will do some more load testing tomorrow and finalize this solution. Thanks everyone. From: Venu Mittal To: solr-user@lucene.apache.org

Re: How to search the database tables using solr.

2009-03-04 Thread Venu Mittal
Does anybody has any stats to share on how much time does DataImportHandler takes to index a given set of data ? I am currently indexing 18 millions rows in 1.5 - 2 hours by sending xmls to solr. From: Shalin Shekhar Mangar To: solr-user@lucene.apache.org; c

Highlighting the searched term in resultset

2009-03-12 Thread Venu Mittal
I was wondering if there is any way of highlighting the searched term in the resultset directly instead of having it as a separate "lst" element. Doing it through xsl transformation would be one way. Has anybody implemented any other better solution ? e.g iPhone iphone sell buy/str> 20

Re: Date Search with q query parameter

2009-03-12 Thread Venu Mittal
Is your final query in this format ? col1:[2009-01-01T00:00:00Z+TO+2009-01-01T23:59:59Z] From: dabboo To: solr-user@lucene.apache.org Sent: Thursday, March 12, 2009 12:27:48 AM Subject: Date Search with q query parameter Hi, I am facing an issue with the dat

ExtractingRequestHandler Question

2009-04-03 Thread Venu Mittal
Hi, I am using ExtractingRequestHandler to index rich text documents. The way I am doing it is I get some data related to the document from database and then post an xml (containing only this data ) to solr. Then I make another call to solr, which sends the actual document to be indexed. But

Re: ExtractingRequestHandler Question

2009-04-06 Thread Venu Mittal
ributes as POST fields. Keep in mind that Solr documents are immutable, which means they cannot change. When you update a document with the same primary key, it will simply delete the existing one and add the new one. hth, Jacob On Sat, Apr 4, 2009 at 5:59 AM, Venu Mittal wrote: >

Re: ExtractingRequestHandler Question

2009-05-10 Thread Venu Mittal
Hi, Wondering if somebody could help me in understanding the following behavior :- If I search on a text field with search query as "davi cla" then it does not yields any search results however if I search for "davi clai" then it yields me 100+ results. The field I am searching on is a text fi