Re: One conf folder in Multicore environment

2008-12-22 Thread Shalin Shekhar Mangar
I think it should be possible. Give the same instanceDir to all cores. Make sure that the solrconfig.xml of your cores uses a variable for the dataDir e.g. "./data/${solr.core.name}". The solr.core.name is an implicit property. http://wiki.apache.org/solr/CoreAdmin#head-7508c24c6e2dadad2dfea39b2f

Re: One conf folder in Multicore environment

2008-12-22 Thread Noble Paul നോബിള്‍ नोब्ळ्
solr.xml allows you to mention the other properties as well like instanceDir, config,schema in the cores/core tag So , sharing the entire conf dir may not be possible , but it is possible to share solrconfig.xml and schema.xml On Tue, Dec 23, 2008 at 8:17 AM, Otis Gospodnetic wrote: > Hi Vikr

Re: SOLR in PHP for my web application

2008-12-22 Thread Shalin Shekhar Mangar
On Mon, Dec 22, 2008 at 11:52 PM, KishoreVeleti CoreObjects < kisho...@coreobjects.com> wrote: > > Suppose say if a term matches more than one answer_id BUT question_id is > same then I should return only one question though it matches more than one > answer_id. This is because I have to show only

Re: Any new python libraries?

2008-12-22 Thread jlist9
I used it with 1.2 but had some unicode issues. Anyone else has had issues with unicode? Or maybe the issues have been addressed ? On Mon, Dec 22, 2008 at 7:04 PM, Ed Summers wrote: > On Mon, Dec 22, 2008 at 4:53 AM, Mark Jarecki wrote: >> I was just wondering if there were any new Python librar

Re: is my MoreLikeThis performance normal?

2008-12-22 Thread Otis Gospodnetic
Eric, from what I can tell from your description, it looks like this could indeed be caused by high frequency of some of the query terms. This is not MLT component specific, and I imagine you will see similar performance if you just run queries with those terms from, say, the Solr admin page.

Re: SOLR in PHP for my web application

2008-12-22 Thread Otis Gospodnetic
Hi, There is a Solr PHP client and I believe it only exists in Solr's JIRA system. It's referenced from the Solr Wiki, too. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: KishoreVeleti CoreObjects > To: solr-user@lucene.apache.org > Se

Re: Any new python libraries?

2008-12-22 Thread Ed Summers
On Mon, Dec 22, 2008 at 4:53 AM, Mark Jarecki wrote: > I was just wondering if there were any new Python libraries compatible with > SOLR 1.3 available or in development? All I can find are libraries for 1.2. Did you see: http://code.google.com/p/solrpy/ I'm using it with v1.3 //Ed

Re: One conf folder in Multicore environment

2008-12-22 Thread Otis Gospodnetic
Hi Vikrant, You can always make use of symbolic links to share a single copy of any file. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Vicky_Dev > To: solr-user@lucene.apache.org > Sent: Monday, December 22, 2008 1:22:06 PM > Subject:

Date Range Search

2008-12-22 Thread swaragsn
Hi All, I am trying to do range queries for dates in SOLR. My schema looks like this. Now, when I do a query http://localhost:8983/solr/select?q=startdate%3A[2008-12-21T00%3A00%3A00Z+TO+2008-12-25T00%3A00%3A00Z] I get all docs in which the dates are in between 2008-12-21 to 2008-12-25.

Re: is my MoreLikeThis performance normal?

2008-12-22 Thread Ken Krugler
After rebuilding my index over the weekend with termVectors enabled for the relevant fields, I've run some basic testing against the MoreLikeThis handler with these settings from the SOLR Wiki {boost=true, mindf=1, mintf=1}. My index contains around 20M documents, averaging under 1K of content wi

Re: highlighting and stemming

2008-12-22 Thread David Bowen
Yonik, thanks for looking into this. Here is a better example of the problem, using the example data from the latest dev version. Add the words "electronics" and "connector" to the features field of the first doc in ipod_other.xml. Now the following query: http://localhost:8983/solr/select/?q=e

Re: Using query functions against a "type" field

2008-12-22 Thread Walter Underwood
Sorry, you didn't mention it was only for some queries. Maybe you could index them twice, with and without boost, and use different versions in different queries. I don't know enough of the scoring innards to know whether you could write custom scoring to ignore document boost. wunder On 12/22/

RE: Using query functions against a "type" field

2008-12-22 Thread Feak, Todd
If I do that, how do I turn off the boosting for some queries but not others? This needs to be done at query time, I believe. -Todd Feak -Original Message- From: Walter Underwood [mailto:wunderw...@netflix.com] Sent: Monday, December 22, 2008 10:33 AM To: solr-user@lucene.apache.org Sub

Re: Using query functions against a "type" field

2008-12-22 Thread Walter Underwood
Try document boost at index time. --wunder On 12/22/08 9:28 AM, "Feak, Todd" wrote: > I would like to use a query function to boost documents of a certain > "type". I realize that I can use a boost query for this, but in > analyzing the scoring it doesn't seem as predictable as the query > funct

SOLR in PHP for my web application

2008-12-22 Thread KishoreVeleti CoreObjects
Hi All, I have a product to be developed with following main tables in it 1. Question table (Question_ID, Question_Title, Question_Description, Question_Category, Question_creation_date are columns in this table) 2. My web site users can answer each question (Question_ID (foreign key to above

Using query functions against a "type" field

2008-12-22 Thread Feak, Todd
I would like to use a query function to boost documents of a certain "type". I realize that I can use a boost query for this, but in analyzing the scoring it doesn't seem as predictable as the query functions. So, imagine I have a field called "foo". Foo contains a value that indicates what typ

RE: Scoped searches in XML documents

2008-12-22 Thread Binkley, Peter
It sounds like you haven't yet looked at the way Solr handles fields. I assume that Solr-Cell (which I haven't looked at yet but hope to soon) indexes everything into a single field. When using Solr on its own, the first thing you do is create a schema that specifies the fields you want in your ind

is my MoreLikeThis performance normal?

2008-12-22 Thread Eric Kilby
After rebuilding my index over the weekend with termVectors enabled for the relevant fields, I've run some basic testing against the MoreLikeThis handler with these settings from the SOLR Wiki {boost=true, mindf=1, mintf=1}. My index contains around 20M documents, averaging under 1K of content wi

Re: Scoped searches in XML documents

2008-12-22 Thread Shalin Shekhar Mangar
I don't know much about Solr Cell but if you can see each node's content in different fields in Solr then you should be able to query it too. On Mon, Dec 22, 2008 at 6:59 PM, Jana, Kumar Raja wrote: > Hi Shalin, > > Thanks for the quick response. I've found my mistake. It was actually a > silly

RE: Scoped searches in XML documents

2008-12-22 Thread Jana, Kumar Raja
Hi Shalin, Thanks for the quick response. I've found my mistake. It was actually a silly setting in my application before sending the documents to Solr-Cell which was stripping off the xml tags. I was able to index the document with the xml tags. Sorry for being so hasty. So the only question lef

Re: Solr result xml related query

2008-12-22 Thread Shalin Shekhar Mangar
I have used Solrj with Solr 1.2 and it works fine. Ofcourse you won't be able to use the newer API methods like rollback. On Mon, Dec 22, 2008 at 6:37 PM, Rinesh1 wrote: > > Hi Shalin, >Yes I am using java. >I am using solr 1.2 ..As per my knowledge solrJ is not compatible wilt > solr 1.

Re: Solr result xml related query

2008-12-22 Thread Rinesh1
Hi Shalin, Yes I am using java. I am using solr 1.2 ..As per my knowledge solrJ is not compatible wilt solr 1.2. Regards, Rinesh Shalin Shekhar Mangar wrote: > > On Mon, Dec 22, 2008 at 5:10 PM, Rinesh1 wrote: > >> >> Hi, >>I wanted some inputs on the solr result xml. >>Cur

Re: Scoped searches in XML documents

2008-12-22 Thread Shalin Shekhar Mangar
If your XML documents are of a fixed schema, you may want to look at DataImportHandler with XPathEntityProcessor http://wiki.apache.org/solr/DataImportHandler On Mon, Dec 22, 2008 at 5:49 PM, Jana, Kumar Raja wrote: > Hi, > > > > I want to perform scoped searches in XML documents using Solr. I

Re: Solr result xml related query

2008-12-22 Thread Shalin Shekhar Mangar
On Mon, Dec 22, 2008 at 5:10 PM, Rinesh1 wrote: > > Hi, >I wanted some inputs on the solr result xml. >Currently the result obtained will be of the format > > > attrResult1 > attrResult2 > > >Is it possible some how to change it to the form > > >

Scoped searches in XML documents

2008-12-22 Thread Jana, Kumar Raja
Hi, I want to perform scoped searches in XML documents using Solr. I am using Solr-Cell to index my document files. I've noticed that when I index an xml file to Solr (via Solr-Cell) the field tags get stripped off and only the values are sent to Solr. i.e. Say I have an XML document which con

Solr result xml related query

2008-12-22 Thread Rinesh1
Hi, I wanted some inputs on the solr result xml. Currently the result obtained will be of the format attrResult1 attrResult2 Is it possible some how to change it to the form attrResult1 attrResult2 The reason why I am askin

Any new python libraries?

2008-12-22 Thread Mark Jarecki
Hi, I was just wondering if there were any new Python libraries compatible with SOLR 1.3 available or in development? All I can find are libraries for 1.2. Cheers Mark