Re: who use time?

2007-07-05 Thread James liu
I use freebsd. 2007/6/16, Yonik Seeley <[EMAIL PROTECTED]>: On 6/14/07, James liu <[EMAIL PROTECTED]> wrote: > I just timing my script to get data from 2 solr boxes, not complete script. > It just query two box and return id,score .rows=10. response type use json. > > and i see their qtime al

Re: differen locations for config files and Data files if using Java System Properties

2007-07-05 Thread Erik Hatcher
On Jul 4, 2007, at 12:00 PM, Ryan McKinley wrote: in solrconf.xml I found this entry, which is now uncomented ${solr.data.dir:./solr/data} before it was Don't know if this is the desired behaviour. How should I change the entry not to have the data in the working directory and not to

Pluggable IndexSearcher Proposal

2007-07-05 Thread Jérôme Etévé
Hi all ! I need a new feature in solr : to allow the configuration of the IndexSearcher class in the schema configuration to override the lucene IndexSearcher . I noticed that there's only one point in the code where the searcher is built: in org/apache/solr/search/SolrIndexSearcher.java: pri

Re: Not enough space

2007-07-05 Thread Yonik Seeley
On 7/5/07, Xuesong Luo <[EMAIL PROTECTED]> wrote: Thanks, Chris and Yonik. You are right. I remember the heap size was over 500m when I got the Not enough space error message. Is there a best practice to avoid this kind of problem? add more swap space. -Yonik

Re: Pluggable IndexSearcher Proposal

2007-07-05 Thread Jérôme Etévé
Actually, I implemented that feature for the 1.2.0 version of solr (the one I use) It allows you to speficy the IndexSearcher used by solr in the schema configuration file: If the specified class cant be loaded, a severe message is issued in the log and solr falls back to the hardcoded lucene

Indexing question - split word and comma

2007-07-05 Thread Martin Grotzke
Hi all, I have a document with a name field like this: MP3-Player, Apple, »iPod nano«, silber, 4GB and want to find "apple". Unfortunately, I only find "apple,"... Can anybody help me with this? The schema.xml containts the following field definition and this fieldType definition for type te

Re: Indexing question - split word and comma

2007-07-05 Thread Mike Klaas
On 5-Jul-07, at 11:43 AM, Martin Grotzke wrote: Hi all, I have a document with a name field like this: MP3-Player, Apple, »iPod nano«, silber, 4GB and want to find "apple". Unfortunately, I only find "apple,"... Can anybody help me with this? Sure: you're using WhitespaceAnalyzer, which onl

Re: Indexing question - split word and comma

2007-07-05 Thread Martin Grotzke
On Thu, 2007-07-05 at 11:56 -0700, Mike Klaas wrote: > On 5-Jul-07, at 11:43 AM, Martin Grotzke wrote: > > > Hi all, > > > > I have a document with a name field like this: > > MP3-Player, Apple, »iPod nano«, silber, > > 4GB > > > > and want to find "apple". Unfortunately, I only find "apple,"... >

Same record belonging to multiple facets

2007-07-05 Thread Thiago Jackiw
Is there a way for a record to belong to multiple facets? If so, how would one go about implementing it? What I'd like to accomplish would be something like: record A: name="John Doe" category_facet="Cars" category_facet="Electronics" And when searching for "John Doe" his record would appear un

Re: Same record belonging to multiple facets

2007-07-05 Thread Martin Grotzke
On Thu, 2007-07-05 at 12:39 -0700, Thiago Jackiw wrote: > Is there a way for a record to belong to multiple facets? If so, how > would one go about implementing it? > > What I'd like to accomplish would be something like: > > record A: > name="John Doe" > category_facet="Cars" > category_facet="E

SolrSharp boost - int vs. float

2007-07-05 Thread Otis Gospodnetic
Hi, Here is a quick one for Jeff R. about his SolrSharp client. Looking at http://solrstuff.org/svn/solrsharp/src/Query/Parameters/QueryParameter.cs , I see boost defined as an int(eger): private int _boost = 1; Lucene's boosts are floats (see http://lucene.apache.org/java/2_2_0/api/or

Re: Same record belonging to multiple facets

2007-07-05 Thread Thiago Jackiw
Is it that simple? Cool, I'll give it a try. -- Thiago Jackiw On 7/5/07, Martin Grotzke <[EMAIL PROTECTED]> wrote: On Thu, 2007-07-05 at 12:39 -0700, Thiago Jackiw wrote: > Is there a way for a record to belong to multiple facets? If so, how > would one go about implementing it? > > What I'd l

Re: SolrSharp boost - int vs. float

2007-07-05 Thread Jeff Rodenburg
Nope, other than just oversight. I just modified the QueryParameter class to change the _boost and Boost variable & property to type float, and all works well. I'll log an issue in JIRA and update the source. thanks otis, jeff On 7/5/07, Otis Gospodnetic <[EMAIL PROTECTED]> wrote: Hi, He

solrsharp thoughts

2007-07-05 Thread Ryan McKinley
I just took a quick look at solrsharp. I don't really have to use it yet, so this is not an in depth review. I like the templated SearchResults -- that seems useful. I don't quite follow the need to parse the SolrSchema on the client side? Is that to know what fields are available? Could th

Re: Indexing HTML and other doc types

2007-07-05 Thread Peter Manis
I guess I misread your original question. I believe Nutch would be the choice for crawling, however I do not know about its abilities for indexing other document types. If you needed to index multiple document types such as PDF, DOC, etc and Nutch does not provide functionality to do so you woul

Re: solrsharp thoughts

2007-07-05 Thread Jeff Rodenburg
Thanks Ryan. Comments below. On 7/5/07, Ryan McKinley <[EMAIL PROTECTED]> wrote: I just took a quick look at solrsharp. I don't really have to use it yet, so this is not an in depth review. I like the templated SearchResults -- that seems useful. That has proven to be extremely useful in

RE: Indexing HTML and other doc types

2007-07-05 Thread Teruhiko Kurosaka
Thank you, Otis and Peter, for your replies. > From: Otis Gospodnetic [mailto:[EMAIL PROTECTED] > doc of some type -> parse content into various fields -> post to Solr I understand this part, but the question is who should do this. I was under assumption that it's Solr client's job to crawl the

Re: Same record belonging to multiple facets

2007-07-05 Thread Erik Hatcher
Yup, it's that simple! :) Erik On Jul 5, 2007, at 5:42 PM, Thiago Jackiw wrote: Is it that simple? Cool, I'll give it a try. -- Thiago Jackiw On 7/5/07, Martin Grotzke <[EMAIL PROTECTED]> wrote: On Thu, 2007-07-05 at 12:39 -0700, Thiago Jackiw wrote: > Is there a way for a record

Checking for empty fields

2007-07-05 Thread Norskog, Lance
I understand that I cannot query on the 'null' value for a field, and so I should make null fields -1 instead. About dynamic fields: is there a way to query for the existence of a dynamic field? Thanks, Lance Norskog Divvio, Inc.

Solr Server Configuration

2007-07-05 Thread nithyavembu
Hi All, I am new to Solr. But i am familiar with lucene. I am stuggling in solr server configuation.I am using Tomcat 5. I have worked with the "example" standalone given with solr while i download. But my doubt is i) In lucene we add document by using java. But here they given in xml f