Re: Packaging solr for Debian: using debian-supplied lucene-*.jar

2007-06-04 Thread Jan-Pascal van Best
Hi Hoss, Thanks for your comments. I'm cc-ing three of the Debian Java package maintainers that also work on Lucene packaging. Chris Hostetter wrote: > : as a Tomcat 5.5 webapp. I got the package working, but I would like the > : package to use the Debian-supplied lucene and xpp3 .jar files, whic

Re: Packaging solr for Debian: using debian-supplied lucene-*.jar

2007-06-04 Thread Thorsten Scherler
On Sun, 2007-06-03 at 09:55 +0200, Jan-Pascal van Best wrote: > Hi all, > > I'm working on packaging Solr for Debian. Very nice. :) Since this is a developer topic I think this topic should be discussed on our dev list. salu2 -- Thorsten Scherler thorsten.at.ap

Re: Packaging solr for Debian: using debian-supplied lucene-*.jar

2007-06-04 Thread Jan-Pascal van Best
Dear all, The .jar symlinking part is fixed: what was needed is a line in the security policy for the webapp: permission java.io.FilePermission "/usr/share/java/-", "read"; I think it's strange, though, that the Tomcat error log gives a NoClassDefFoundError instead of some SecurityError. Now Tomca

Using request parameters in dismax boost functions

2007-06-04 Thread Tom Hill
Hi - Perhaps I'm missing something obvious, but it there a way to get values from the user's request as arguments to boost functions in dismax? I'm thinking about distance based weighting for search results, which requires the user's x,y. Tom

RE: question about highlight field

2007-06-04 Thread Xuesong Luo
Mike, Thanks for the information, You are right, my problem is my default search field (searchall) is not stored. The searchall field is a multi valued field(a combination of TITLE and a few other fields).I have a separate field TITLE, which is stored, so I thought that field should be highlighted

Length norm on multi-valued fields

2007-06-04 Thread Walter Underwood
With a multi-valued field, is the length norm based the individual matched value (string) or on all the tokens in the field? I'm guessing that it is the latter, and I expect I could find that in the source or explain if I looked hard enough, but maybe someone already knows. wunder -- Walter Under

Re: Length norm on multi-valued fields

2007-06-04 Thread Chris Hostetter
: With a multi-valued field, is the length norm based the individual : matched value (string) or on all the tokens in the field? I'm guessing : that it is the latter, and I expect I could find that in the source : or explain if I looked hard enough, but maybe someone already knows. it's all tokens

Re: Using request parameters in dismax boost functions

2007-06-04 Thread Chris Hostetter
: Perhaps I'm missing something obvious, but it there a way to get values from : the user's request as arguments to boost functions in dismax? : : I'm thinking about distance based weighting for search results, which : requires the user's x,y. well, the boost function itself can be provided as in

Re: Length norm on multi-valued fields

2007-06-04 Thread Walter Underwood
On 6/4/07 11:24 AM, "Chris Hostetter" <[EMAIL PROTECTED]> wrote: > : With a multi-valued field, is the length norm based the individual > : matched value (string) or on all the tokens in the field? I'm guessing > : that it is the latter, and I expect I could find that in the source > : or explain

Re: question about highlight field

2007-06-04 Thread Mike Klaas
On 4-Jun-07, at 9:56 AM, Xuesong Luo wrote: So if I need to search a string in field f1, f2, f3 and highlight them in the response, I have to append hl.fl=f1,f2,f3 to my query. Is this the only solution? I thought of using searchall field, but the problem is the highlight element doesn't te

RE: question about highlight field

2007-06-04 Thread Chris Hostetter
: : So if I need to search a string in field f1, f2, f3 and highlight them : in the response, I have to append hl.fl=f1,f2,f3 to my query. Is this : the only solution? I thought of using searchall field, but the problem : is the highlight element doesn't tell which value belongs to which that's b

Re: result grouping?

2007-06-04 Thread Yonik Seeley
On 1/5/07, Luis Neves <[EMAIL PROTECTED]> wrote: Yonik Seeley wrote: > There are still some things underspecified though. > > Let's take an example of collapseon=site, collapsenum=2 > > The list of un-collapsed matches and their relevancy scores (sort order) > is: > doc=51, site=A, score=100 > d

Re: result grouping?

2007-06-04 Thread Yonik Seeley
On 6/4/07, Yonik Seeley <[EMAIL PROTECTED]> wrote: Another way is to use two phases... the first collects the top n documents, and the second grabs ... other members of each group in the list of docs to return. -Yonik

How to specify config file locations in recent nightlies?

2007-06-04 Thread John Whitley
Hi all, Is there a way to explicitly specify the location of the solr conf directory and/or config file locations (separate from the data dir) in recent nightlies? I noted an old posting that referenced a "solr.configDir" property, but that seems to have been removed from recent code. FWIW, I'm

Re: How to specify config file locations in recent nightlies?

2007-06-04 Thread Chris Hostetter
: Is there a way to explicitly specify the location of the solr conf : directory and/or config file locations (separate from the data dir) in : recent nightlies? : : I noted an old posting that referenced a "solr.configDir" property, but : that seems to have been removed from recent code. FWIW, I

Re: How to specify config file locations in recent nightlies?

2007-06-04 Thread Erik Hatcher
On Jun 4, 2007, at 8:57 PM, Chris Hostetter wrote: : Is there a way to explicitly specify the location of the solr conf : directory and/or config file locations (separate from the data dir) in : recent nightlies? : : I noted an old posting that referenced a "solr.configDir" property, but

RE: question about highlight field

2007-06-04 Thread Xuesong Luo
Chris, Thanks for the reply. I'm curious why we want to search one field but highlight different fields? Doesn't it make more sense to only highlight the query fields? In my example, if I search f1, f2, f3, most likely I only want to the searching words in those fields to be highlighted. Of course

RE: question about highlight field

2007-06-04 Thread Xuesong Luo
Thanks Mike, I tried using dismax and it seems working. The only problem is I could not use wildcard in the query string if I specify qt=dismax. I have a default search field called TITLE(TextField), This one returns all engineer whose TITLE starts with engin: /?q=engin* This one does not return

RE: question about highlight field

2007-06-04 Thread Chris Hostetter
: Thanks for the reply. I'm curious why we want to search one field but : highlight different fields? Doesn't it make more sense to only highlight consider a typical use case: you have an index of articles with fields for the title, description, and body of the article. you search all of them, b

RE: question about highlight field

2007-06-04 Thread Chris Hostetter
: is I could not use wildcard in the query string if I specify qt=dismax. 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. -Hoss