Re: How to describe 2 entities in dataConfig for the DataImporter?

2008-06-03 Thread Noble Paul നോബിള്‍ नोब्ळ्
The id in pet should be aliased to 'petid' , because id is coming from both entities there is a conflict On Wed, Jun 4, 2008 at 10:37 AM, Noble Paul നോബിള്‍ नोब्ळ् <[EMAIL PROTECTED]> wrote: > hi julio, > You must cr

Re: How to describe 2 entities in dataConfig for the DataImporter?

2008-06-03 Thread Noble Paul നോബിള്‍ नोब्ळ्
hi julio, You must create an extra field for 'comboid' because you really need the 'id' for your sub-entities. Your data-config must look as follows. The pet also has a field called 'id' . It is not a good idea. call it 'petid' or something (both in dataconfig and schema.xml). Please make sure that

Re: Solrj + Multicore

2008-06-03 Thread Ryan McKinley
This way I don't connect: new CommonsHttpSolrServer("http://localhost:8983/solr/idxItem";) this is how you need to connect... otherwise nothing will work. Perhaps we should throw an exception if you initialize a URL that contains "?" ryan

Re: Ideas on how to implement "sponsored results"

2008-06-03 Thread climbingrose
Hi Alexander, Thanks for your suggestion. I think my problem is a bit different from yours. We don't have any sponsored words but we have to retrieve sponsored results directly from the index. This is because a site can have 60,000 products which is hard to insert/update keywords. I can live with

RE: How to describe 2 entities in dataConfig for the DataImporter?

2008-06-03 Thread Julio Castillo
Hi Noble, I had forgotten to also list comboId as a uniqueKey in the schema.xml file. But that didn't make a difference. It still complained about the "Document [null] missing required field: id" for each row it ran into of the outer entity. If you look at the debug output of the entity:pets (see

Re: solr slave configuration help

2008-06-03 Thread Gaku Mak
Hi Yonik and others, We ended up using adding 2 additional GB to physical ram (total of 4GB now) and set the java heap to 3GB, so OS should have 1GB to play with. The slave servers are now a lot more responsive, even during replication and with autowarm turned on (not too aggressive though).

Re: Solrj + Multicore

2008-06-03 Thread Alexander Ramos Jardim
Well, This way I connect to my server new CommonsHttpSolrServer("http://localhost:8983/solr/?core=idxItem";) This way I don't connect: new CommonsHttpSolrServer("http://localhost:8983/solr/idxItem";) As you can obviously see, I can't use the first way because it produces wrong requests like http

Re: Solrj + Multicore

2008-06-03 Thread Erik Hatcher
On Jun 3, 2008, at 3:52 PM, Alexander Ramos Jardim wrote: Is there a way to access a specific core via Solrj Yes, depending on which SolrServer implementation: SolrServer server = new CommonsHttpSolrServer("http://localhost:8983/solr/ ") -or- SolrServer server = new EmbeddedSolrServer

Solrj + Multicore

2008-06-03 Thread Alexander Ramos Jardim
Is there a way to access a specific core via Solrj. Sorry but I couldn't find anything on wiki or google. -- Alexander Ramos Jardim

Re: dismax query parser crash on double dash

2008-06-03 Thread Otis Gospodnetic
Bram, You will slowly discover various characters and tokens that "don't work" with DisMax. They "don't work" because they are "special" - they are a part of the query grammar and have special meanings. Have you tried escaping those characters in your application before sending the query to So

Re: sp.dictionary.threshold parm of spell checker seems unresponsive

2008-06-03 Thread Otis Gospodnetic
Ron, It might be better for you to look at SOLR-572 issue in Solr's JIRA and use the patch provided there with the Solr trunk. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Ronald K. Braun <[EMAIL PROTECTED]> > To: solr-user@lucene.apach

Problems using multicore

2008-06-03 Thread Alexander Ramos Jardim
Hello, I am getting problems running Solr-1.3-trunk with multicores. My multicore.xml file is: I have solr.home pointing the directory containing it. All the involved directories exist. There's a conf directory containing the schema.xml and solrconfig.xml of each core in their respe

sp.dictionary.threshold parm of spell checker seems unresponsive

2008-06-03 Thread Ronald K. Braun
I'm playing around with the spell checker on 1.3 nightly build and don't see any effect on changes to the "sp.dictionary.threshold" in terms of dictionary size. A value of 0.0 seems to create a dictionary of the same size and content as a value of 0.9. (I'd expect a very small dictionary in the l

Re: Ideas on how to implement "sponsored results"

2008-06-03 Thread Alexander Ramos Jardim
Cuong, I have implemented sponsored words for a client. I don't know if my working can help you but I will expose it and let you decide. I have an index containing products entries that I created a field called sponsored words. What I do is to boost this field , so when these words are matched in

Re: dismax query parser crash on double dash

2008-06-03 Thread Bram de Jong
On Tue, Jun 3, 2008 at 3:51 PM, Sean Timm <[EMAIL PROTECTED]> wrote: > I can take a stab at this. I need to see why SOLR-502 isn't working for > Otis first though. I slightly "enhanced" my script so it would only do the strange searches my users have done in the past... (i.e things with more than

Ideas on how to implement "sponsored results"

2008-06-03 Thread climbingrose
Hi all, I'm trying to implement "sponsored results" in Solr search results similar to that of Google. We index products from various sites and would like to allow certain sites to promote their products. My approach is to query a slave instance to get sponsored results for user queries in addition

RE: Issuing queries during analysis?

2008-06-03 Thread Dallan Quass
> Grant Ingersoll wrote: > > How often does your collection change or get updated? > > You could also have a slight alternative, which is to create > a real small and simple Lucene index that contains your > translations and then do it pre-indexing. The code for such > a searcher is quite sim

Re: dismax query parser crash on double dash

2008-06-03 Thread Sean Timm
I can take a stab at this. I need to see why SOLR-502 isn't working for Otis first though. -Sean Bram de Jong wrote: On Tue, Jun 3, 2008 at 1:26 PM, Grant Ingersoll <[EMAIL PROTECTED]> wrote: +1. Fault tolerance good. ParseExceptions bad. Can you open a JIRA issue for it? If you feel

Re: dismax query parser crash on double dash

2008-06-03 Thread Bram de Jong
On Tue, Jun 3, 2008 at 1:26 PM, Grant Ingersoll <[EMAIL PROTECTED]> wrote: > +1. Fault tolerance good. ParseExceptions bad. > > Can you open a JIRA issue for it? If you feel you see the problem, a patch > would be great, too. https://issues.apache.org/jira/browse/SOLR-589 I hope the bug report

Re: dismax query parser crash on double dash

2008-06-03 Thread Grant Ingersoll
+1. Fault tolerance good. ParseExceptions bad. Can you open a JIRA issue for it? If you feel you see the problem, a patch would be great, too. -Grant On Jun 2, 2008, at 5:15 PM, Sean Timm wrote: It seems that the DisMaxRequestHandler tries hard to handle any query that the user can thr

Re: dismax query parser crash on double dash

2008-06-03 Thread Bram de Jong
On Mon, Jun 2, 2008 at 11:15 PM, Sean Timm <[EMAIL PROTECTED]> wrote: > It seems that the DisMaxRequestHandler tries hard to handle any query that > the user can throw at it. That's exactly why I was reporting it... :-) - Bram