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 optimization

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.2)

RE: question about highlight field

2007-06-06 Thread Xuesong Luo
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 is used

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: 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 : lst name=highlighting : lst name=id1 : arr name=TITLE : stremConsult/emant/str your description of the problem doesn't seem to match what

RE: question about highlight field

2007-06-04 Thread Xuesong Luo
[mailto:[EMAIL PROTECTED] Sent: Friday, June 01, 2007 11:43 AM 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

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

RE: question about highlight field

2007-06-04 Thread Xuesong Luo
@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 highlight element

RE: question about highlight field

2007-06-04 Thread Xuesong Luo
not 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:56 AM

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

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