Re: Provide value to uniqueID

2014-06-08 Thread Shalin Shekhar Mangar
You can specify the file name as the id by adding a TemplateTransformer on the entity "x" and specifying ${f.file} as the template value in the "id" field. For example: On Mon, Jun 9, 2014 at 11:23 AM, ienjreny wrote: > Hello, > > I am using

Re: Customizing Solr; Where to draw the line?

2014-06-08 Thread Meraj A. Khan
Phanindra. 1. I had no such need , the index was built from scratch. 2. Yes , I created a new URL and mapped it to the customized search handler. 3. The only thing I modified was the SearchHandler and specified that as the class for newly created URL in #2 above. Hope this helps. On Mon, Jun 9

Provide value to uniqueID

2014-06-08 Thread ienjreny
Hello, I am using the following code to read text files it is working perfect except the id value, how can I use file name (or any value) as value for uniqeuID field -- View this message in context: http://lucene.472066.n3.nabble.com/Provid

Re: Delta Import Functionality

2014-06-08 Thread ajay59
Hi, I tried the way you said , but still it's not working. I am sharing the screenshots for your reference. Thanks for help. -- View this message in context: http://lucene.472066.n3.nabble.com/Delta-Import-Functionality-tp4140063p4140709.html Sent from the Solr - User mailing list archive at

Re: Customizing Solr; Where to draw the line?

2014-06-08 Thread Phanindra R
Thanks for the reply Meraj. It'd be great if you could share info on following as well. 1) Did you have to load any stuff from database? How did you do that? 2) Did you create new urls and map them to your custom handlers? 3) Did you declare any custom object types in the solr-config.xml i.e. ot

Re: Extract values from custom function for ValueSource with multiple indexable fields

2014-06-08 Thread david.w.smi...@gmail.com
I suggest investigating this using a known example that does this, such as LatLonType and geodist(). LatLonType registers the field in a custom way too. ~ David Smiley Freelance Apache Lucene/Solr Search Consultant/Developer http://www.linkedin.com/in/davidwsmiley On Sun, Jun 8, 2014 at 7:54 AM

Re: Customizing Solr; Where to draw the line?

2014-06-08 Thread Meraj A. Khan
I hane gone with approach #2 to avoid latency issues as well, specifically for spellcheck related functionality.I have not gone onto to SolrCloud yet ,so I cannot comment on the distributed search part. On Jun 8, 2014 10:38 PM, "Phanindra R" wrote: > Hi, > > We have decided to migrate from Lucene

Customizing Solr; Where to draw the line?

2014-06-08 Thread Phanindra R
Hi, We have decided to migrate from Lucene 3.x to latest Solr. A lot of architectural discussions are going on. There are two possible approaches. Please note that our customer-facing app (or any client) and Search are hosted on different machines. *1) Have a clean architecture* - Solr takes

Re: Any way to view lucene files

2014-06-08 Thread Alexandre Rafalovitch
Have you looked at: https://github.com/DmitryKey/luke Regards, Alex. Personal website: http://www.outerthoughts.com/ Current project: http://www.solr-start.com/ - Accelerating your Solr proficiency On Mon, Jun 9, 2014 at 8:12 AM, Aman Tandon wrote: > I guess this is not available now. I am t

Re: Any way to view lucene files

2014-06-08 Thread Aman Tandon
I guess this is not available now. I am trying to download from the google, please take a look https://code.google.com/p/luke/downloads/list If you have any link please share With Regards Aman Tandon On Sat, Jun 7, 2014 at 10:32 PM, Summer Shire wrote: > > Did u try luke 47 > > > > > On Jun

Re: Performance/scaling with custom function queries

2014-06-08 Thread Joel Bernstein
You only need to have fast access to the fingerprint field so only that field needs to be in memory. You'll want to review how Lucene DocValues and FieldCache work. Sorting is done with a PriorityQueue so only the top N docs are kept in memory. You'll only need to access the fingerprint field valu

Re: Is it possible for solr to calculate and give back the price of a product based on its sub-products

2014-06-08 Thread S.L
I am not sure if that is doable , I think it needs to be taken care of at the indexing time. On Sun, Jun 8, 2014 at 4:55 PM, Gharbi Mohamed < gharbi.mohamed.e...@gmail.com> wrote: > Hi, > > I am using Solr for searching magento products in my project, > I want to know, is it possible for solr to

Setup a Solr Cloud on a set of powerful machines

2014-06-08 Thread shushuai zhu
Hi, I would like to get some advice to setup a Solr Cloud on a set of powerful machines. The average size of the documents handled by the Solr Cloud is about 0.5 KB, and the number of documents stored in Solr Cloud could reach billions. When indexing, the incoming document rate could be as high

Is it possible for solr to calculate and give back the price of a product based on its sub-products

2014-06-08 Thread Gharbi Mohamed
Hi, I am using Solr for searching magento products in my project, I want to know, is it possible for solr to calculate and give back the price of a product based on its sub-products(items); For instance, i have a product P1 and it is the parent of items m1, m2. i need to get the minimal price of

Re: span query with SHOUD semantic instead of MUST HAVE

2014-06-08 Thread Erick Erickson
What is your problem? I mean what kind of real-world issue are you requiring this behavior for? Or is this mostly so you can understand scoring better? Very often this kind of question is a test artifact. As far as I know, the distance isn't part of the scoring, the fact that there's an extra toke

Re: Documents Added Not Available After Commit (Both Soft and Hard)

2014-06-08 Thread Erick Erickson
That's strange. Are you saying that after you see the "No uncommitted changes. Skipping IW.commit." message, that some time later the docs will appear even though you haven't updated them after you see the message above? I have upon occasion seen people get fooled by either browser or container ca

Re: Tomcat restart removes the Core.

2014-06-08 Thread Erick Erickson
bq: What does "disappeared" mean? Not showing up in the admin UI? Files on disk erased? The former may well be the persist bit, the latter would be really weird. And does solr.xml change when you create new cores? How do you create new cores? Really, read: http://wiki.apache.org/solr/UsingMailingL

SOLR Performance Benchmarking

2014-06-08 Thread rashi gandhi
Hi, I am using SolrMeter for performance benchmarking. I am able to successfully test my solr setup up to 1000 queries per min while searching. But when I am exceeding this limit say 1500 search queries per min, facing "Server Refused Connection" in SOLR. Currently, I have only one solr server run

Extract values from custom function for ValueSource with multiple indexable fields

2014-06-08 Thread Costi Muraru
Hi guys, I have a custom FieldType that adds several IndexableFields for each document. I also have a custom function, in which I want to retrieve these indexable fields. I can't seem to be able to do so. I have added some code snippets below. Any help is gladly appreciated. Thanks, Costi public

Performance/scaling with custom function queries

2014-06-08 Thread Robert Krüger
Hi, let's say I have an index that contains a field of type BinaryField called "fingerprint" that stores a few (let's say 100) bytes that are some kind of digital fingerprint-like thing. Let's say I want to perform queries on that field to achieve sorting or filtering based on a kind of custom di

Re: Solr Realtime Get RemoteSolrException: Expected mime type application/xml but got text/html

2014-06-08 Thread Shalin Shekhar Mangar
Since it is returning a 404, I guess the real time get handler is not enabled on your remote Solr. Make sure that your solrconfig.xml has the following somewhere: true json true On Sat, Jun 7, 2014 at 1:41 AM, Songtao Zheng wrote: > Solr version on remote s