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=dismax&q=blabla&version=2.2&start=0&rows=1&indent=on&fl=*,score&debugQuery=true&sort=length_seconds+desc but no results for:

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 =Sol

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=dismax&q=blablabla%3BRelevanc : +desc&version=2.2&start=0&rows=1&indent=on&fl=*,score : : when i remove the qt=dismax i do get result back: : : /solr/select/?q=blablabla%3BRelevanc : +desc&version=2.2&start=0&rows=1&ind

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

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: explicit 0.01 abc^2 def ghi^0.1 jkl When i run

Anyone know How to test CustomerAnalyzer with jsp?

2007-03-14 Thread James liu
I don't know how to test,,Maybe someone can tell me. Thks Chris Advice. -- regards jl

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 happen

Re: faceting for further MLT/grouping

2007-03-14 Thread Chris Hostetter
: The problem with SOLR-69 is that faceting does not operate on MLT : results. If this was fixed we could do ah... i see, you're tlaking about getting facet counts based on the MLT results, not the main results ... i think somoene (Yonik?) suggested extracting MLT into a seperate request handler

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 w

Re: faceting for further MLT/grouping

2007-03-14 Thread Brian Whitman
On Mar 14, 2007, at 5:48 PM, Chris Hostetter wrote: I'm not sure if i'm understanding your question ... i was going to mention SOLR-69 as a possible solution for your goal, but i see you've commented on that issue so you are already aware of it ... doesn't that code do what you are desc

Hierarchical facted search redux - nabble

2007-03-14 Thread Graeme Merrall
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. Is this done by Solr? Just lokoing for a clue as t

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? an

Re: faceting for further MLT/grouping

2007-03-14 Thread Chris Hostetter
I'm not sure if i'm understanding your question ... i was going to mention SOLR-69 as a possible solution for your goal, but i see you've commented on that issue so you are already aware of it ... doesn't that code do what you are describing (by using the facet fields as the mlt.fl ?) I have to

Re: Reload schema.xml

2007-03-14 Thread Debra
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. Chris Hostetter wrote: > > > : Is there a way to reload schema.xml while solr is running? > > Afraid not ...there's a lot of interdependencies between the w

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

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: 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 reve

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 ht

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 woul

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 c

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 t

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 occu

Re: Restrict Servlet Access

2007-03-14 Thread Jed Reynolds
Gunther, Andrew wrote: What are people doing to restrict UpdateServlet access on production installs of Solr. Are people removing that option and rotating in a new index or restricting access from the jetty side. I'm putting Solr on my DMZ without direct WAN access. If I had to put it on

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 c

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 d

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 current

Re: Restrict Servlet Access

2007-03-14 Thread Brian Whitman
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 currently using select directly through the XSLTResponseWrite

Re: Restrict Servlet Access

2007-03-14 Thread Erik Hatcher
On Mar 14, 2007, at 10:12 AM, Gunther, Andrew wrote: What are people doing to restrict UpdateServlet access on production installs of Solr. Are people removing that option and rotating in a new index or restricting access from the jetty side. The recommendation is to firewall off Solr so o

Restrict Servlet Access

2007-03-14 Thread Gunther, Andrew
What are people doing to restrict UpdateServlet access on production installs of Solr. Are people removing that option and rotating in a new index or restricting access from the jetty side. Cheers, Andrew

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 i

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

2007-03-14 Thread Burkamp, Christian
You can even put multiple entries into one document. The text field needs to be defined multi-valued for this to work. You can put each chunk of data to its own text field. Perhaps this approach is best suited for what you want to do? --Christian -Ursprüngliche Nachricht- Von: Er

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

2007-03-14 Thread Erik Hatcher
Thomas - you will need to do this client-side if you don't want to use copyField. The client needs to gather up all the text you want indexed and send that as Erik On Mar 14, 2007, at 3:50 AM, thomas arni wrote: Hello I'm currently evaluate solr for our needs. In a first st