Re: Commit after how many updates?

2007-03-14 Thread Maximilian Hütter
Mike Klaas schrieb: On 3/12/07, Maximilian Hütter [EMAIL PROTECTED] wrote: Hi, I have a question regarding Solr's behaviour, in the standard installation. When use the start.jar with a rather complex schema and I do about 1000 updates and then try to commit, I get this: result

Index arbitrary xml-elments in only one field without copying

2007-03-14 Thread thomas arni
Hello I'm currently evaluate solr for our needs. In a first step I used your example and adapted the “schema.xml”. In contrast to the example docs provided I haven't homogeneous documents, which means I only want to index to two fields. This fields are the uniqueKey (docno) and a textfield

Re: Index arbitrary xml-elments in only one field without copying

2007-03-14 Thread thomas arni
Thanks for your reply Erik. I will use your suggested approach. IMHO this could be something to add for future versions of solr. The Terrier IR-framework for example and other IR solutions allow to specify different XML-elements, which should be indexed in only one (lucene) field. As I said

Re: Restrict Servlet Access

2007-03-14 Thread Erik Hatcher
On Mar 14, 2007, at 11:09 AM, Brian Whitman wrote: The recommendation is to firewall off Solr so only your application server can access it. Solr is not at all designed for direct client (browser, etc) access. Assuming you lock down update properly, what's the problem? We are

Re: Casting Exception with Similarity

2007-03-14 Thread Tim Patton
Chris Hostetter wrote: : I figured out my problem. My own jar must be in the examples/solr/lib : directory (which does not exist in the download). I found a hint to : this on the mailing list. The docs don't indicate this anywhere : promenant. Perhaps the lib directory should exist in the

Re: SPAM-LOW: Re: Federated Search

2007-03-14 Thread Tim Patton
I have several indexes now (4 at the moment, 20gb each, and I want to be able to drop in a new machine easily). I'm using SQL server as a DB and it scales well. The DB doesn't get hit too hard, mostly doing location lookups, and the app does some checking to make sure a document has really

Re: Commit after how many updates?

2007-03-14 Thread Mike Klaas
On 3/14/07, Maximilian Hütter [EMAIL PROTECTED] wrote: It is the default heap size for the Sun JVM, so I guess 64MB max. The documents are rather large, but if you manage to index 100,000 docs, there seems to be some problem with Solr. The documents are not held in memory until a commit

Re: Index arbitrary xml-elments in only one field without copying

2007-03-14 Thread Chris Hostetter
: : IMHO this could be something to add for future versions of solr. The : Terrier IR-framework for example and other IR solutions allow to specify : different XML-elements, which should be indexed in only one (lucene) field. I don't know anythign about Terrier, but there are lots of simple ways

Re: Commit after how many updates?

2007-03-14 Thread Chris Hostetter
: It is the default heap size for the Sun JVM, so I guess 64MB max. The : documents are rather large, but if you manage to index 100,000 docs, : there seems to be some problem with Solr. i think you mean there DOES NOT seems to be some problem with Solr. right ... why would Mike being able to

Re: Casting Exception with Similarity

2007-03-14 Thread Chris Hostetter
: : Makes sense, I guess I was looking for a mention in the online : documentation for the xml file where it mentions how to specify your own : similarity. Somehow I never stumbled on the other two spots. Hmmm... you mean http://wiki.apache.org/solr/SchemaXml right? yeah i can see how that

Re: Casting Exception with Similarity

2007-03-14 Thread Tim Patton
Sweet, looks like someone beat me to it. Tim Chris Hostetter wrote: : : Makes sense, I guess I was looking for a mention in the online : documentation for the xml file where it mentions how to specify your own : similarity. Somehow I never stumbled on the other two spots. Hmmm... you mean

Re: Federated Search

2007-03-14 Thread Venkatesh Seetharam
Hi Jed, Thanks for sharing your thoughts and the link. Venkatesh On 3/11/07, Jed Reynolds [EMAIL PROTECTED] wrote: Venkatesh Seetharam wrote: The hash idea sounds really interesting and if I had a fixed number of indexes it would be perfect. I'm infact looking around for a

Reload schema.xml

2007-03-14 Thread Debra
Is there a way to reload schema.xml while solr is running? TIA Debra -- View this message in context: http://www.nabble.com/Reload-schema.xml-tf3404798.html#a9483346 Sent from the Solr - User mailing list archive at Nabble.com.

Re: Reload schema.xml

2007-03-14 Thread Chris Hostetter
: Is there a way to reload schema.xml while solr is running? Afraid not ...there's a lot of interdependencies between the way the IndexSchema, the RequestHandlers, the SolrCore, and updates work ... so i supsect atttempting to add something like that would require a lot of tricky synchronization

Re: Reload schema.xml

2007-03-14 Thread Chris Hostetter
: That was quick... I was editing my question while you sent the answer. : I would appreciate if you can take a look at the edited question. i'm not sure i understand ... did you send a reply? i didn't get other messages from you. Oh crap ... so you used nabble.com to send your message right?

Re: Hierarchical facted search redux - nabble

2007-03-14 Thread Chris Hostetter
: : From Chris's ApacheCon talk on Solr (nice one BTW) I see that nabble : is apparently using Solr for search? I noticed that the screenshot of : nabble.com in the presentation and the current site has some form of : hierarchy displayed when you search. Nabble does aparently use Lucene, but i

Re: Hierarchical facted search redux - nabble

2007-03-14 Thread Graeme Merrall
On 3/15/07, Chris Hostetter [EMAIL PROTECTED] wrote: Nabble does aparently use Lucene, but i was not trying to suggest that they use Solr ... that screenshot was in a section where i was explaining what faceted searching is, and using them as an example of a UI with a single facet (which happens

DisMax Question.

2007-03-14 Thread shai deljo
Hi, I am trying to use DisMax handler in order to search multiple fields but i don't get results back. Assume the fields i want to search on are abc, def, ghi and jkl then i changed solrconfig.xml to this: requestHandler name=dismax class=solr.DisMaxRequestHandler lst name=defaults str

Re: Anyone know How to test CustomerAnalyzer with jsp?

2007-03-14 Thread Chris Hostetter
: Subject: Anyone know How to test CustomerAnalyzer with jsp? : : I don't know how to test,,Maybe someone can tell me. how about something like... % Analyzer a = new CustomerAnalyzer(); TokenStream t = a.tokenStream(f, new StringReader(test)); % %= t.next().toString() % -Hoss

Re: DisMax Question.

2007-03-14 Thread Chris Hostetter
: When i run my query with qt=dismax i don't get results: : : /solr/select/?qt=dismaxq=blablabla%3BRelevanc : +descversion=2.2start=0rows=1indent=onfl=*,score : : when i remove the qt=dismax i do get result back: : : /solr/select/?q=blablabla%3BRelevanc :

Reloading solr schema file

2007-03-14 Thread Debra
Is there a way to reload schema.xml while solr is running? As a newbiie Java programmer I'm not sure what happens if I do the following: SolrCore core = new SolrCore(null,null); Will it replace the current core? What happens to requests that are running? What if I do? SolrCore core

Re: DisMax Question.

2007-03-14 Thread shai deljo
Thanks, that did the trick but now i have another problem (the documentation is very little). It fails when i try to boost terms in the query, i.e. I get results for : qt=dismaxq=blablaversion=2.2start=0rows=1indent=onfl=*,scoredebugQuery=truesort=length_seconds+desc but no results for: