RE: question about highlight field

2007-06-15 Thread Chris Hostetter
: I rewrite the prefix wildcard query consult* to (consult consult?*), it : works with highlighting. Do you think it's a possible solution? : Could you explain a little bit why put a "?" before "*" won't crash solr : if matching a lot of terms? actually what i said was that Solr has an optimizati

RE: question about highlight field

2007-06-14 Thread Xuesong Luo
Hi, Chris, I rewrite the prefix wildcard query consult* to (consult consult?*), it works with highlighting. Do you think it's a possible solution? Could you explain a little bit why put a "?" before "*" won't crash solr if matching a lot of terms? Thanks Xuesong In the trunk (soon to be Solr 1.

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 t

RE: question about highlight field

2007-06-05 Thread Xuesong Luo
for prefix wildcard. Thanks for your help! Xuesong -Original Message- From: Chris Hostetter [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 05, 2007 10:16 PM To: solr-user@lucene.apache.org Subject: RE: question about highlight field : One more question about using wildcard. I found if wildcard

RE: question about highlight field

2007-06-05 Thread Chris Hostetter
: One more question about using wildcard. I found if wildcard is used in : the query, the highlight elements only shows unique id, it won't display : : : : Consultant your description of the problem doesn't seem to match what you've pasted ... it looks like it's highlighting just the p

RE: question about highlight field

2007-06-05 Thread Xuesong Luo
@lucene.apache.org Subject: RE: question about highlight field : 1. search on different fields : 2. highlight the query string in searching fields, not default search : I think the only option I have is to use standard request handler and : specify which field I want to search and add

RE: question about highlight field

2007-06-05 Thread Chris Hostetter
: 1. search on different fields : 2. highlight the query string in searching fields, not default search : I think the only option I have is to use standard request handler and : specify which field I want to search and add the same field to hl.fl, : something similar to ?q=TITLE:consult*&hl=on&hl

RE: question about highlight field

2007-06-05 Thread Xuesong Luo
Subject: RE: question about highlight field : 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, descriptio

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

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 Xuesong Luo
return anything: /?q=engin*&qt=dismax Do you know what is the problem? Thanks Xuesong -Original Message- From: Mike Klaas [mailto:[EMAIL PROTECTED] Sent: Monday, June 04, 2007 11:46 AM To: solr-user@lucene.apache.org Subject: Re: question about highlight field On 4-Jun-07, at 9:5

RE: question about highlight field

2007-06-04 Thread Xuesong Luo
solr-user@lucene.apache.org Subject: RE: question about highlight field : : 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 highlig

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: question about highlight field

2007-06-04 Thread Xuesong Luo
To: solr-user@lucene.apache.org Subject: Re: question about highlight field On 1-Jun-07, at 9:37 AM, Xuesong Luo wrote: > Hi, there, > > I have a question about how to use the highlight field(hl.fl), > below is > my test result. As you can see, if I don

Re: question about highlight field

2007-06-01 Thread Chris Hostetter
: I have a question about how to use the highlight field(hl.fl), below is : my test result. As you can see, if I don't use hl.fl in the query, the : highlighting element in the result only shows the id information. I have according to the wiki, a blank (or missing) hl.fl should result in the fiel

Re: question about highlight field

2007-06-01 Thread Mike Klaas
On 1-Jun-07, at 9:37 AM, Xuesong Luo wrote: Hi, there, I have a question about how to use the highlight field(hl.fl), below is my test result. As you can see, if I don't use hl.fl in the query, the highlighting element in the result only shows the id information. I have to add the field