RE: question about highlight field

2007-06-06 Thread Xuesong Luo
Yes, I'm using 1.1. The example in my last email is an expected result, not the real result. Indeed I didn't see the arr element in the highlighting element when either prefix wildcard or true wildcard query is used. I just tried nightly build, as you said, it works great except for prefix

custom writer, working but... a strange exception in logs

2007-06-06 Thread Frédéric Glorieux
Hi all, At first, lucene user for years, I should really thanks you for Solr. For a start, I wrote a little results writer for an app. It works like what I understand of Solr, except a strange exception I'm not able to puzzle. Version : fresh subversion. 1. Class 2. stacktrace 3. maybe

post.jar is absent in Solr distribution

2007-06-06 Thread Manoharam Reddy
I am an absolute noob to solr and I am trying out the Solr tutorial present at http://lucene.apache.org/solr/tutorial.html In the tutorial, post.jar is mentioned but I don't find post.jar anywhere. I downloaded the solr tarball from

Re: custom writer, working but... a strange exception in logs

2007-06-06 Thread Yonik Seeley
On 6/6/07, Frédéric Glorieux [EMAIL PROTECTED] wrote: I can't figure why, but when writer.write(HEAD) is executed, I see code from StandardRequestHandler executed 2 times in the debugger, first is OK, second hasn't the q parameter. I don't know why that would be... what is the client sending

Wildcards / Binary searches

2007-06-06 Thread galo
Hi, Three questions: 1. I want to use solr for some sort of live search, querying with incomplete terms + wildcard and getting any similar results. Radioh* would return anything containing that string. The DisMax req. hander doesn't accept wildcards in the q param so i'm trying the simple

RE: Wildcards / Binary searches

2007-06-06 Thread Xuesong Luo
I have a similar question about dismax, here is what Chris said: the dismax handler uses a much more simplified query syntax then the standard request handler. Only +, -, and are special characters so wildcards are not supported. HTH -Original Message- From: galo [mailto:[EMAIL

Re: Wildcards / Binary searches

2007-06-06 Thread J.J. Larrea
At 4:40 PM +0100 6/6/07, galo wrote: 1. I want to use solr for some sort of live search, querying with incomplete terms + wildcard and getting any similar results. Radioh* would return anything containing that string. The DisMax req. hander doesn't accept wildcards in the q param so i'm trying

Re: Wildcards / Binary searches

2007-06-06 Thread galo
Yeah i thought of that solution but this is a 20G index with each document having around 300 or those numbers so i was a bit worried about the performance.. I'll try anyway, thanks! On 06/06/07, *Yonik Seeley* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On 6/6/07, galo [EMAIL

Re: custom writer, working but... a strange exception in logs

2007-06-06 Thread Frédéric Glorieux
Thanks for answer, I'm feeling less guilty. I don't see a non-null default for HEAD/FOOT... perhaps do if (HEAD!=null) writer.write(HEAD); There may be an issue with how you register in solrconfig.xml I get every thing I want from solrconfig.xml, I was suspecting some classloader

Re: Wildcards / Binary searches

2007-06-06 Thread galo
Ok further to my email below i've been testing with q=radioh?* Basically the problem is, searching artists even with Radiohead having a big boost, it's returning stuff with less boost before like Radiohead+Ani Di Franco or Radiohead+Michael Stipe The debug output is below, but basically, for

Re: post.jar is absent in Solr distribution

2007-06-06 Thread Chris Hostetter
: I am an absolute noob to solr and I am trying out the Solr tutorial : present at http://lucene.apache.org/solr/tutorial.html there is a big blurb on that tutorial URL attempting to point out that it is for a nightly release (version 1.1.2007.05.29.12.05.29) and that you should refer to the

RE: tomcat context fragment

2007-06-06 Thread Park, Michael
I've found the problem. The Context attribute path needed to be set: Context path=/solr docBase=/users/mp15/solr.war debug=0 crossContext=true Environment name=solr/home type=java.lang.String value=/Users/mp15/solr override=true/ /Context -Original Message- From: Park, Michael

Re: custom writer, working but... a strange exception in logs

2007-06-06 Thread Chris Hostetter
I'm baffled. Would it be possible for you to send a scaled down (but compilable) version of your response writer that demonstrates the problem, along with a snippet that can be added to the example solrconfig.xml to register it and and example request URL that triggers the problem? that way we

Re: Wildcards / Binary searches

2007-06-06 Thread Chris Hostetter
: I have a local version of DisMax which parameterizes the escaping so : certain operators can be allowed through, which I'd be happy to : contribute to you or the codebase, but I expect SimpleRH may be a better That sounds like it would be a really usefull patch if you be interested in posting

RE: question about highlight field

2007-06-06 Thread Chris Hostetter
: Yes, I'm using 1.1. The example in my last email is an expected result, : not the real result. Indeed I didn't see the arr element in the : highlighting element when either prefix wildcard or true wildcard query Hmmm... yes, i'm sorry i wasn't thinking clearly -- that makes sense since in 1.1

Re[2]: Multiple doc types in schema

2007-06-06 Thread Chris Hostetter
Ah i was missunderstanding your goal of doctypes ... the use case i was thinking is that you have book documents and movie documents and you frequently only query on one type of the other but sometime you do a generic query on all of them using the fields they have in common. this is

RE: tomcat context fragment

2007-06-06 Thread Chris Hostetter
: I've found the problem. : : The Context attribute path needed to be set: : : Context path=/solr docBase=/users/mp15/solr.war debug=0 Michael, i don't really know much about tomcat, but is this becuase you had a single config file for all context (the examples on our wiki suggest that tomcat

RE: tomcat context fragment

2007-06-06 Thread Park, Michael
Hi Chris, No. I set up a separate file, same as the wiki. It's either a tomcat version issue or a difference between how tomcat on my Win laptop is configured vs. the configuration on our tomcat Unix machine. I intend to run multiple instances of solr in production and wanted to use the

SOLVED Re: custom writer, working but... a strange exception in logs

2007-06-06 Thread Frédéric Glorieux
I'm baffled. [Yonic] I don't know why that would be... what is the client sending the request? If it gets an error, does it retry or something? Good ! It's the favicon.ico effect. Nothing in logs when the class is resquested from curl, but with a browser (here Opera), begin a response with

Re: SOLVED Re: custom writer, working but... a strange exception in logs

2007-06-06 Thread Frédéric Glorieux
Frédéric Glorieux a écrit : I'm baffled. [Yonic] I don't know why that would be... what is the client sending the request? If it gets an error, does it retry or something? Good ! Nothing in logs when the class is resquested from curl, Sorry, same idea, but it's a CSS link. --

Re: SOLVED Re: custom writer, working but... a strange exception in logs

2007-06-06 Thread Chris Hostetter
: It's the favicon.ico effect. : Nothing in logs when the class is resquested from curl, but with a : browser (here Opera), begin a response with html, and it requests for : favicon.ico. HA HA HA HA that's freaking hilarious. One way to avoid that might be to register a NOOP request

Re: Wildcards / Binary searches

2007-06-06 Thread J.J. Larrea
Hi, Hoss. I have a number of things I'd like to post... but the generally-useful stuff is unfortunately a bit interwoven with the special-case stuff, and I need to get out of breathing-down-my-back deadline mode to find the time to separate them, clean up and comment, make test cases, etc.

RE: tomcat context fragment

2007-06-06 Thread Chris Hostetter
: Here is what I found on the Apache site about this: ...i think you are refering to... http://tomcat.apache.org/tomcat-5.0-doc/config/context.html ..correct? it definitely seems to be something that was changed in 5.5. Note the added sentence in the 5.5 docs... The value of this field

Where to put my plugins?

2007-06-06 Thread Teruhiko Kurosaka
I made a plugin that has a Tokenizer, its Factory, a Filter and its Factory. I modified example/solr/conf/schema.xml to use these Factories. Following http://wiki.apache.org/solr/SolrPlugins I placed the plugin jar in the top level lib and ran the start.jar. I got:

RE: Where to put my plugins?

2007-06-06 Thread Teruhiko Kurosaka
This is about Solr 1.1.0 running on Win XP w/JDK 1.5. Thank you. -Original Message- From: Teruhiko Kurosaka [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 06, 2007 5:32 PM To: solr-user@lucene.apache.org Subject: Where to put my plugins? I made a plugin that has a Tokenizer, its

Re: Where to put my plugins?

2007-06-06 Thread Ryan McKinley
If the example is in: C:\workspace\solr\example Try putting you custom .jar in: C:\workspace\solr\example\solr\lib Check the README in solr home: C:\workspace\solr\example\solr\README.txt This directory is optional. If it exists, Solr will load any Jars found in this directory and use them

RE: Where to put my plugins?

2007-06-06 Thread Teruhiko Kurosaka
Ryan, Thank you. But creating lib under example/solr and placing my plugin jar there yielded the same error of not able to locate org/apache/solr/analysis/BaseTokenizerFactory How can this be -kuro

RE: Where to put my plugins?

2007-06-06 Thread Teruhiko Kurosaka
Never mind. My mistake. I still had a copy of the jar in ext dir. After cleaning it up, it's now loading my plugin. THANK YOU VERY MUCH! -Original Message- From: Teruhiko Kurosaka [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 06, 2007 5:58 PM To: solr-user@lucene.apache.org

Re: SOLVED Re: custom writer, working but... a strange exception in logs

2007-06-06 Thread Erik Hatcher
On Jun 6, 2007, at 5:32 PM, Chris Hostetter wrote: : It's the favicon.ico effect. : Nothing in logs when the class is resquested from curl, but with a : browser (here Opera), begin a response with html, and it requests for : favicon.ico. HA HA HA HA that's freaking hilarious. One

Wildcard not working as expected?

2007-06-06 Thread Nigel McNie
Hi, I'm having trouble using a * wildcard after a term in a search. It does not seem to match 0 or more, but rather something more, as long as it's not nothing. This is using the standard query handler, by the way. Examples: Search for theatr* = returns 112 results, for things named 'theatre'

solr+hadoop = next solr

2007-06-06 Thread James liu
anyone agree? Next solr's development 's plan is? anyone know? -- regards jl

Re: solr+hadoop = next solr

2007-06-06 Thread Yonik Seeley
On 6/6/07, James liu [EMAIL PROTECTED] wrote: anyone agree? No ;-) At least not if you mean using map-reduce for queries. When I started looking at distributed search, I immediately went and read the map-reduce paper (easier concept than it first appeared), and realized it's really more for

Re: Wildcard not working as expected?

2007-06-06 Thread Yonik Seeley
On 6/6/07, Nigel McNie [EMAIL PROTECTED] wrote: I'm having trouble using a * wildcard after a term in a search. It does not seem to match 0 or more, but rather something more, as long as it's not nothing. This is using the standard query handler, by the way. Examples: Search for theatr* =

Re: solr+hadoop = next solr

2007-06-06 Thread Jeff Rodenburg
I've been exploring distributed search, as of late. I don't know about the next solr but I could certainly see a distributed solr grow out of such an expansion. In terms of the FederatedSearch wiki entry (updated last year), has there been any progress made this year on this topic, at least

Re: solr+hadoop = next solr

2007-06-06 Thread James liu
2007/6/7, Yonik Seeley [EMAIL PROTECTED]: On 6/6/07, James liu [EMAIL PROTECTED] wrote: anyone agree? No ;-) At least not if you mean using map-reduce for queries. When I started looking at distributed search, I immediately went and read the map-reduce paper (easier concept than it first

Re: solr+hadoop = next solr

2007-06-06 Thread Yonik Seeley
On 6/6/07, Jeff Rodenburg [EMAIL PROTECTED] wrote: In terms of the FederatedSearch wiki entry (updated last year), has there been any progress made this year on this topic, at least something worthy of being added or updated to the wiki page? Priorities shifted, and I dropped it for a while. I