Re: Ranking result on the basis of field value irrespective of score

2008-10-23 Thread Shalin Shekhar Mangar
Create your languages field (or a copy) in such a way that sort gives you the order you want. Then just query Solr with "sort=language asc" parameter. 2008/10/23 Amit <[EMAIL PROTECTED]> > Hi All, > > > > How we can do the ranking on the basis of specific field value > irrespective > of score in

Re: Advice needed on master-slave configuration

2008-10-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
> Also, when will solr's replication handler release in an official release? > Can it be released as a patch on 1.3? It is terribly useful functionality > and if there's a way to get it out sooner, I'd sure appreciate it! It is a possiblity.You can raise a JIRA issue The feature depends on some

Re: How to search a DataImportHandler solr index

2008-10-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
You must have your entities nested like these banner and size must be multivalued On Thu, Oct 23, 2008 at 11:29 PM, Nick80 <[EMAIL PROTECTED]> wrote: > > I did some more testing and encountered another problem. I have three tables: > campaign, banner and size. A campaign

Re: How to search a DataImportHandler solr index

2008-10-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Thu, Oct 23, 2008 at 10:01 PM, Nick80 <[EMAIL PROTECTED]> wrote: > > It was actually very easy. I followed the tutorial at > http://wiki.apache.org/solr/DataImportHandler . The only thing I forgot was > that I had to define the fields that I have in data-config.xml also in > solrconfig.xml. Anot

Re: How to change dataDir path in solrconfig xml

2008-10-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
Solr does not directly read you xml files. It maintains a Lucene index in the ${DATA_DIR}/index directory. So you do not have to change it. After you make your xml files post them to solr to get it indexed On Thu, Oct 23, 2008 at 6:23 PM, Laxmilal Menaria <[EMAIL PROTECTED]> wrote: > I have read

Re: Advice needed on master-slave configuration

2008-10-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
It was committed on 10/21 take the latest 10/23 build http://people.apache.org/builds/lucene/solr/nightly/solr-2008-10-23.zip On Fri, Oct 24, 2008 at 2:27 AM, William Pierce <[EMAIL PROTECTED]> wrote: > I tried the nightly build from 10/18 -- I did the following: > > a) I downloaded the nightly b

multicore admin interface

2008-10-23 Thread Nguyen, Joe
Hi, I have two cores. When each core references the same dataDir, I could access the core admin interface. However, when core1 dirData is referencing one directory, and core2 another directory, I could not access the admin interface. Any idea? //each core references a different dir //both cor

Re: Advice needed on master-slave configuration

2008-10-23 Thread William Pierce
I tried the nightly build from 10/18 -- I did the following: a) I downloaded the nightly build of 10/18 (the zip file). b) I unpacked it and copied the war file to my tomcat lib folder. c) I made the relevant changes in the config files per the instructions shown in the wiki. When tomcat sta

Integrating Solr with JBOSS to run the dataimporter

2008-10-23 Thread con
Hi I got the sample solr application working in jetty server, and I have connected it with database and the values are indexed as well as searched. Now for the actual production environment I want to deploy it in the JBOSS server. Based on another post by Thierry, in the same forum, I followed th

Re: Data Folder in Multicore | Solconfig entry not working

2008-10-23 Thread Vicky_Dev
Thanks Hoss.. That really work like magic :) ~Vikrant Shirbhate hossman wrote: > > > : Admin screen, index document is coming up correctly in the response. But > : when I start locating index (.cfs) file into folders . File is not > created > : at all. > : > : Solr Config xml entry (core

Re: How to search a DataImportHandler solr index

2008-10-23 Thread Nick80
I did some more testing and encountered another problem. I have three tables: campaign, banner and size. A campaign can have multiple banners of different types (flash, gif, ...). And each type of banner can be of multiple sizes (50x50, 100x100, ...). So I did the following in data-config.xml

Re: SolrSharp gone?

2008-10-23 Thread Otis Gospodnetic
Aha, it's there now - the site was down yesterday. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Ryan McKinley <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.org > Sent: Wednesday, October 22, 2008 5:29:45 PM > Subject: Re: SolrSharp g

Re: How to search a DataImportHandler solr index

2008-10-23 Thread Nick80
It was actually very easy. I followed the tutorial at http://wiki.apache.org/solr/DataImportHandler . The only thing I forgot was that I had to define the fields that I have in data-config.xml also in solrconfig.xml. Another issue I'm having with the wiki article is that it doesn't mention where y

RE: One document inserted but nothing showing up ? SOLR 1.3

2008-10-23 Thread Feak, Todd
Unless "q=ALL" is a special query I don't know about, the only reason you would get results is if "ALL" showed up in the default field of the single document that was inserted/updated. You could try a query of "*:*" instead. Don't forget to URL encode if you are doing this via URL. -Todd ---

One document inserted but nothing showing up ? SOLR 1.3

2008-10-23 Thread sunnyfr
Hi Can somebody help me ? How can I see all my documents, I just did a full import : Indexing completed. Added/Updated: 1 documents. Deleted 0 documents. and when I do :8180/solr/video/select/?q=ALL, I've no result ? − 0 0 − ALL Thanks a lot, -- View this message in context: http:/

Re: Advice needed on master-slave configuration

2008-10-23 Thread Otis Gospodnetic
Bill - I believe SOLR-561 is already in svn, so you can grab a nightly build or trunk. What you describe should work, but it's clearly a very ugly solution. Switching to some flavour of UNIX would solve that ugliness. I wonder how other Solr on Windows users dealt with this... Otis -- Sematext

Re: How to search a DataImportHandler solr index

2008-10-23 Thread Matthew Runo
So you were able to get things working? What was your experience with the DataImportHandler like? Thanks for your time! Matthew Runo Software Engineer, Zappos.com [EMAIL PROTECTED] - 702-943-7833 On Oct 23, 2008, at 6:50 AM, Nick80 wrote: Never mind. I needed to specify in schema.xml that

Ranking result on the basis of field value irrespective of score

2008-10-23 Thread Amit
Hi All, How we can do the ranking on the basis of specific field value irrespective of score in solr? For example: Let say field “language” which content values like “German,English,French,Chines,Arabic”. So I want English language document come first

Re: Solr 1.3 Maven Artifact Problem

2008-10-23 Thread Renaud Delbru
Hi, About the second point, it was my mistake (source dependencies problem in eclipse). -- Renaud Delbru Renaud Delbru wrote: Hi, I am using the Solr 1.3 mave nartifacts from [1]. It seems that these artifacts are not correct. I have noticed that: 1) solr-core artifact contains org.apache.s

Solr 1.3 Maven Artifact Problem

2008-10-23 Thread Renaud Delbru
Hi, I am using the Solr 1.3 mave nartifacts from [1]. It seems that these artifacts are not correct. I have noticed that: 1) solr-core artifact contains org.apache.solr.client.solrj packages, and at the same time, the solr-core artifact depends on the solr-solrj artifact. 2) the source jar doe

Re: How to search a DataImportHandler solr index

2008-10-23 Thread Nick80
Never mind. I needed to specify in schema.xml that the field is multiValued. -- View this message in context: http://www.nabble.com/How-to-search-a-DataImportHandler-solr-index-tp20120698p20131412.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Sorting performance

2008-10-23 Thread christophe
Hi, I'm now reloading my index. The issue might be related with the way dates are handled (I was sorting on a date field). Now, I have added an integer field that represent the date (but in minutes instead of milli seconds). With 4M documents (and indexing running in background), I have a corre

Re: How to change dataDir path in solrconfig xml

2008-10-23 Thread Laxmilal Menaria
I have read but their are no information about index folder path. I have checked the code and got there are hardcoded the data path with index folder in SolrCore.java. public String getIndexDir() { return dataDir + "index/"; } So I need only this: public String getIndexDir() { return d

Re: Solr and JBOSS Integration

2008-10-23 Thread con
Hi I tried the above steps. but i am getting the following error: Any help or suggestion is really appreciated. 18:25:25,229 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- Packages waiting for a deployer --- [EMAIL PROTECTED] { url=file:/C:/jboss/jboss-4.2.1.GA/server/default/d

Re: Advice needed on master-slave configuration

2008-10-23 Thread William Pierce
It appears that the only solution (outside of Noble Paul's suggestion for using solr's replication handler) is for me to restart tomcat.To minimize the effect of this downtime, I propose to do the following: a) Generate the new index on the master periodically. When the new index has bee

Re: How to search a DataImportHandler solr index

2008-10-23 Thread Nick80
Hi Matthew, thanks for the reply, but I did some testing and it isn't working like a normal index (or maybe I'm doing something wrong). For testing purposes I have two tables, a person table and a hobby table. A person can have many hobbies. I have set up the dataimporthandler and imported the da

Re: How to change dataDir path in solrconfig xml

2008-10-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
please go through this url once http://lucene.apache.org/solr/tutorial.html --Noble On Thu, Oct 23, 2008 at 2:37 PM, Laxmilal Menaria <[EMAIL PROTECTED]> wrote: > Hello, > > I have created index of my xml files, these all index files are located in > data/index folder. Now I have update the d

How to change dataDir path in solrconfig xml

2008-10-23 Thread Laxmilal Menaria
Hello, I have created index of my xml files, these all index files are located in data/index folder. Now I have update the dataDir in SolrConfig.xml to data only, but I want to specify data/index, so how can I do that, I have multiple data folders and want to separate it, index1, index2... --