Re: highlight separator

2017-11-22 Thread David Hastings
Thanks, I kind of figured that was the case. On Wed, Nov 22, 2017 at 12:24 PM, Erick Erickson wrote: > I think that's only for the Unified Highlighter, which was introduced > to Lucene in 6.3 and Solr in 6.4. See: SOLR-9708 > > Best, > Erick > > On Wed, Nov 22, 2017 at 9:01 AM, David Hastings >

Re: highlight separator

2017-11-22 Thread Erick Erickson
I think that's only for the Unified Highlighter, which was introduced to Lucene in 6.3 and Solr in 6.4. See: SOLR-9708 Best, Erick On Wed, Nov 22, 2017 at 9:01 AM, David Hastings wrote: > Im on solr 5.x at the moment, and am trying to get the highlighter to > display complete sentences containin

Re: Highlight partial match

2016-10-11 Thread Juan Fernando Mora
Well, that would explain it, I hand't noticed the start and end values, I'm not experienced with analysis, but this is really interesting, I will look into this, Thanks a lot Shawn! On Tue, Oct 11, 2016 at 7:31 AM, Shawn Heisey wrote: > On 10/11/2016 12:15 AM, Juan Fernando Mora wrote: > > Hi,

Re: Highlight partial match

2016-10-11 Thread Shawn Heisey
On 10/11/2016 12:15 AM, Juan Fernando Mora wrote: > Hi, I have been doing some research on highlighting partial matches, > there are some information on google but is far from complete and I > just can't get it to work. *I have highlighting working but it > highlights complete words, example:* I

Re: highlight don't work if df not specified

2016-05-23 Thread Ahmet Arslan
Hi Solomon, How come hl.q=blah blah&hl.fl=normal_text,title would produce "undefined field text" error message? Please try hl.q=blah blah&hl.fl=normal_text,title just to verify there is a problem with the fielded queries. Ahmet On Monday, May 23, 2016 10:31 AM, michael solomon wrote: Hi, Wh

Re: highlight don't work if df not specified

2016-05-23 Thread michael solomon
Hi, When I'm increase hl.maxAnalyzedChars nothing happened. AND hl.q=blah blah&hl.fl=normal_text,title I get: "error":{ "metadata":[ "error-class","org.apache.solr.common.SolrException", "root-error-class","org.apache.solr.common.SolrException"], "msg":"undefined field text",

Re: highlight don't work if df not specified

2016-05-22 Thread Ahmet Arslan
Hi, What happens when you increase hl.maxAnalyzedChars? OR hl.q=blah blah&hl.fl=normal_text,title Ahmet On Sunday, May 22, 2016 5:24 PM, michael solomon wrote: On Sun, May 22, 2016 at 5:18 PM, Ahmet Arslan wrote: > Hi, > > Weird, are your fields stored? > > > > On Sunday, May 22, 2016

Re: highlight don't work if df not specified

2016-05-22 Thread michael solomon
On Sun, May 22, 2016 at 5:18 PM, Ahmet Arslan wrote: > Hi, > > Weird, are your fields stored? > > > > On Sunday, May 22, 2016 5:14 PM, michael solomon > wrote: > Thanks Ahmet, > It was mistake in the question, sorry, in the quey I wrote it properly. > > > On Sun, May 22, 2016 at 5:06 PM, Ahme

Re: highlight don't work if df not specified

2016-05-22 Thread Ahmet Arslan
Hi, Weird, are your fields stored? On Sunday, May 22, 2016 5:14 PM, michael solomon wrote: Thanks Ahmet, It was mistake in the question, sorry, in the quey I wrote it properly. On Sun, May 22, 2016 at 5:06 PM, Ahmet Arslan wrote: > Hi, > > q=normal_text:"bla bla"&title:"bla bla" > > should

Re: highlight don't work if df not specified

2016-05-22 Thread michael solomon
Thanks Ahmet, It was mistake in the question, sorry, in the quey I wrote it properly. On Sun, May 22, 2016 at 5:06 PM, Ahmet Arslan wrote: > Hi, > > q=normal_text:"bla bla"&title:"bla bla" > > should be > q=+normal_text:"bla bla" +title:"bla bla" > > > > On Sunday, May 22, 2016 4:52 PM, michael

Re: highlight don't work if df not specified

2016-05-22 Thread Ahmet Arslan
Hi, q=normal_text:"bla bla"&title:"bla bla" should be q=+normal_text:"bla bla" +title:"bla bla" On Sunday, May 22, 2016 4:52 PM, michael solomon wrote: Hi, I'm I query multiple fields in solr: q=normal_text:"bla bla"&title:"bla bla" I turn on the highlighting, but it doesn't work even

Re: Highlight brings the content from the first pages of pdf

2016-02-17 Thread Anil
Thanks Philippe. i am using hl.fl=*, when a field is available in highlight section, is it possible to skip that filed in the main response ? please clarify. Regards, Anil On 18 February 2016 at 08:42, Philippe Soares wrote: > You can put fields that you want to retrieve without highlighting i

Re: Highlight brings the content from the first pages of pdf

2016-02-17 Thread Philippe Soares
You can put fields that you want to retrieve without highlighting in the "fl" parameter, and the large fields in the "hl.fl" parameter. Those will go in the highlight section only. It may also be a good idea to add hl.requiresFieldMatch=true. E.g. : fl=id&hl=true&hl.fl=field1,field2&hl.requireFiel

Re: Highlight brings the content from the first pages of pdf

2016-02-17 Thread Anil
Thanks Binoy. But this may not help my usecase. I am storing and indexing huge documents in solr. when no search text matches with that filed text, i should skip that field of the document. when match exists, it should be part of highlight section. fl may not be right option in my case. Any sugg

Re: Highlight brings the content from the first pages of pdf

2016-02-16 Thread Binoy Dalal
Yeah. Under an entry like so: fields On Tue, 16 Feb 2016, 13:00 Anil wrote: > you mean default fl ? > > On 16 February 2016 at 12:57, Binoy Dalal wrote: > > > Oh wait. We don't append the fl parameter to the query. > > We've configured it in the request handler in solrconfig.xml > > Maybe that

Re: Highlight brings the content from the first pages of pdf

2016-02-15 Thread Anil
you mean default fl ? On 16 February 2016 at 12:57, Binoy Dalal wrote: > Oh wait. We don't append the fl parameter to the query. > We've configured it in the request handler in solrconfig.xml > Maybe that is something that you can do. > > On Tue, 16 Feb 2016, 12:39 Anil wrote: > > > Thanks for

Re: Highlight brings the content from the first pages of pdf

2016-02-15 Thread Binoy Dalal
Oh wait. We don't append the fl parameter to the query. We've configured it in the request handler in solrconfig.xml Maybe that is something that you can do. On Tue, 16 Feb 2016, 12:39 Anil wrote: > Thanks for your response Binoy. > > Yes.I am looking for any alternative to this. With long numbe

Re: Highlight brings the content from the first pages of pdf

2016-02-15 Thread Anil
Thanks for your response Binoy. Yes.I am looking for any alternative to this. With long number of fileds, url will become long and might lead to "url too long exception" when using http request. On 16 February 2016 at 11:01, Binoy Dalal wrote: > Filling in the fl parameter with all the required

Re: Highlight brings the content from the first pages of pdf

2016-02-15 Thread Binoy Dalal
Filling in the fl parameter with all the required fields is what we do at my project as well, and I don't think there is any alternative to this. Maybe somebody else can advise on this? On Tue, 16 Feb 2016, 10:30 Anil wrote: > Any help on this ? Thanks. > > On 15 February 2016 at 19:06, Anil w

Re: Highlight brings the content from the first pages of pdf

2016-02-15 Thread Anil
Any help on this ? Thanks. On 15 February 2016 at 19:06, Anil wrote: > Yes. But i have long list of fields. > > i feel adding all the fileds in fl is not good practice unless one > interested in few fields. In my case, i am interested in all fields except > the one . > > is there any alternative

Re: Highlight brings the content from the first pages of pdf

2016-02-15 Thread Anil
Yes. But i have long list of fields. i feel adding all the fileds in fl is not good practice unless one interested in few fields. In my case, i am interested in all fields except the one . is there any alternative approach ? Thanks in advance. On 15 February 2016 at 17:27, Binoy Dalal wrote:

Re: Highlight brings the content from the first pages of pdf

2016-02-15 Thread Binoy Dalal
If I understand correctly, you have already highlighted the field and only want to return the highlights and not the field itself. Well in that case, simply remove the field name from your fl list. On Mon, 15 Feb 2016, 17:04 Anil wrote: > HOw can highlighted field excluded in the main result ? a

Re: Highlight brings the content from the first pages of pdf

2016-02-15 Thread Anil
HOw can highlighted field excluded in the main result ? as it is available in the highlight section. In my scenario, One filed (lets say commands) of the each solr document would be around 10 mg. I dont want to fetch that filed in response when its highlight snippets available in the response. Pl

Re: Highlight brings the content from the first pages of pdf

2016-02-15 Thread Evert R.
Hello Mark, Thanks for you reply. All text is indexed (1 pdf file). It works now. Best regard, *--Evert* 2016-02-14 23:47 GMT-02:00 Mark Ehle : > is all the text being indexed? Check to make sure that there's actually the > data you are looking for in the index. Is there a setting in tika th

Re: Highlight brings the content from the first pages of pdf

2016-02-15 Thread Evert R.
Binoy, Thank you very much for you reply and explanation. Best regards, *--Evert* 2016-02-14 23:28 GMT-02:00 Binoy Dalal : > What you've done so far will highlight every instance of "nietava" found in > the field, and return it, i.e., your entire field will return with all the > "nietava"s in

Re: Highlight brings the content from the first pages of pdf

2016-02-14 Thread Mark Ehle
is all the text being indexed? Check to make sure that there's actually the data you are looking for in the index. Is there a setting in tika that limits how much is indexed? I seem to remember confronting this problem myself once, and the data that I wanted just wasn't in the index because it was

Re: Highlight brings the content from the first pages of pdf

2016-02-14 Thread Binoy Dalal
What you've done so far will highlight every instance of "nietava" found in the field, and return it, i.e., your entire field will return with all the "nietava"s in tags. If you do not want the entire field, only portions of your field containing the matched terms, then use hl.snippets parameter =

Re: Highlight brings the content from the first pages of pdf

2016-02-14 Thread Evert R.
Binoy, You are the man! =) Thank you very much! Would you by chance know how could I get the second highlight of the same word in the same file? Like: file_1.pdf (has three words "nietava") so..., how can I bring the highlighs for the three occurrences? I am pretty new around, should I send (o

Re: Highlight brings the content from the first pages of pdf

2016-02-14 Thread Binoy Dalal
Are you sure you've typed in the parameters correctly? In your response it says flagsize instead of fragsize and maxanalzyedchars instead of maxanalyzedchars. Ohh wait, I see that I made the analyzed typo. Awfully sorry for that, I'm using my phone to send the mail out. On Sun, 14 Feb 2016, 23:53

Re: Highlight brings the content from the first pages of pdf

2016-02-14 Thread Evert R.
Hi Binoy, thanks! Still not working, check the output: { "responseHeader":{ "status":0, "QTime":58, "params":{ "q":"nietava", "hl":"true", "hl.simple.post":"", "indent":"true", "fl":"id", "hl.flagsize":"0", "hl.fl":"content", "hl.maxA

Re: Highlight brings the content from the first pages of pdf

2016-02-14 Thread Binoy Dalal
Don't add this parameter to the searchComponent definition, because the components where you've added it, GapFragmenter and RegexFragmenter, simply don't use it. Instead, add it to your request handler (/select etc.) if you've configured highlighting in the handler or append it to your query: *&hl.

Re: Highlight brings the content from the first pages of pdf

2016-02-14 Thread Evert R.
Hi Binoy, I could not find this option in my solrconfig.xml file. ] I tryied to add this setting and nothing changed... Here is the code, I might miss placed: 400 409600 200

Re: Highlight brings the content from the first pages of pdf

2016-02-14 Thread Binoy Dalal
>From the solr wiki: hl.maxAnalyzedChars How many characters into a document to look for suitable snippets  Solr1.3. This parameter makes sense for the original Highlighter only. The default value is "51200". You can assign a large value to this parameter and use hl.fragsize=0 to return highlig

Re: Highlight brings the content from the first pages of pdf

2016-02-14 Thread Evert R.
Hi Paul, Sorry my late reply. All the content is inside de docs. It brings the docs and the pdf file that has the search word in it. But the highlight is not showing if the search word is after a few pages. Evert *--Evert* 2016-02-14 8:36 GMT-02:00 Paul Libbrecht : > This looks like the stor

Re: Highlight brings the content from the first pages of pdf

2016-02-14 Thread Paul Libbrecht
This looks like the stored content is shortened. Can it be? Can you see that inside the docs? paul > Evert R. > 14 February 2016 at 11:26 > Hi There, > > I have a situation where started a techproducts, without any modification, > post a pdf file. When searching as:

Re: [Highlight] Storing one field, highlight with different analysers

2015-12-24 Thread Erick Erickson
Well, actually points 2 and 3 _do_ depend on the stored data. It's certainly true that the stored data won't have to be re-analyzed if you're using FVH, but the original text still needs to be present to highlight anything that would make sense (consider stopwords, stemming all that. The user reall

Re: highlight

2015-12-02 Thread Teague James
Hello, Thanks for replying! Yes, I am storing the whole document. The document is indexed with a unique id. There are only 3 fields in the schema - id, rawDocument, tikaDocument. Search uses the tikaDocument field. Against this I am throwing 2-5 word phrases and getting highlighting matches to

Re: highlight

2015-12-02 Thread Rick Leir
For performance, if you have many large documents, you want to index the whole document but only store some identifiers. (Maybe this is not a consideration for you, stop reading now ) If you are not storing the whole document, then Solr cannot do the highlighting. You would get an id, then locate

Re: Highlight with NGram and German S Sharp "ß"

2015-10-20 Thread Scott Stults
Yep, I misunderstood the problem. The multiple tokens at the same offset might be messing things up. One thing you can do is copyField to a field that doesn't have n-grams and do something like f.textng.hl.alternateField= in your solrconfig. That'll use the other field during highlighting. Yeah, t

Re: Highlight with NGram and German S Sharp "ß"

2015-10-16 Thread Jérôme Bernardes
Thanks for your reply Scott. I tried bs.language=de&bs.country=de Unfortunately the problem still occurs. I have just discovered that the problem does not only affect "ß" but also "æ" (which is mapped to "ae" at query and index time) q=hae --> hæna So it seems to me that the problem is re

Re: Highlight with NGram and German S Sharp "ß"

2015-10-12 Thread Scott Stults
My guess is that the boundary scanner isn't configured right for your highlighter. Try setting the bs.language and bs.country parameters either in your request or in the requestHandler. k/r, Scott On Mon, Oct 5, 2015 at 4:57 AM, Jérôme Bernardes wrote: > Dear Solr Users, > I am facing a proble

Re: Highlight not working when using _query_ syntax

2015-08-04 Thread Emre ERKEK
Hi Ahmet, I made the mistake(syntax error) ... I add to this param is your adviced query hl.q="olası (kast kasıt)"~6&hl.qparser=complexphrase is working. Thanks for advice. Emre On Tue, Aug 4, 2015 at 3:45 PM, Emre ERKEK wrote: > I wrote wrong parsed query. Correct is > > > (+((+ComplexPhra

Re: Highlight not working when using _query_ syntax

2015-08-04 Thread Emre ERKEK
I wrote wrong parsed query. Correct is (+((+ComplexPhraseQuery("olası (kast kasıt)") +xml:adam) (+ComplexPhraseQuery("olası (kast kasıt)") +xml_en:adam)) () () () () () () ())/no_coord On Tue, Aug 4, 2015 at 3:38 PM, Emre ERKEK wrote: > When I changed query *_query_:"{!complexphrase df=xml}\"

Re: Highlight not working when using _query_ syntax

2015-08-04 Thread Emre ERKEK
When I changed query *_query_:"{!complexphrase df=xml}\"olası (kast kasıt)\"~6 AND adam" OR _query_:"{!complexphrase df=xml_en}\"olası (kast kasıt)\"~6 **AND adam**" *, ' adam ' is highlighted. 'xml' field content : ... OLASI KAST OLASI KASTLA ADAM... (+((+ComplexPhraseQuery("olası (kast kasıt)"

Re: Highlight not working when using _query_ syntax

2015-08-04 Thread Emre ERKEK
Hi Ahmet, Unfortunatly, I cannot leverage hl.qparser and hl.q. I tried to queries like that: *hl.q=_query_:"{!complexphrase df=xml}\"olası (kast kasıt)\"~6" OR _query_:"{!complexphrase df=xml_en}\"olası (kast kasıt)\"~6" * is not working. *hl.q="olası (kast kasıt)"~6&hl.qparser=complexphrase *i

Re: Highlight not working when using _query_ syntax

2015-08-04 Thread Ahmet Arslan
Hi Emre, May be you can leverage hl.qparser and hl.q ? Ahmet On Tuesday, August 4, 2015 11:00 AM, Emre ERKEK wrote: Hi, When I search with nested query such as :* {!complexphrase df=xml}\"olası (kast kasıt)\"~6* , highlighting is working. But, when I use this query *_query_:"{!complexp

Re: Highlight in Velocity UI on Google Chrome

2015-06-16 Thread Upayavira
I think it makes it bold on bold, which won't be particularly visible. On Tue, Jun 16, 2015, at 06:52 AM, Sznajder ForMailingList wrote: > Hi, > > I was testing the highlight feature and played with the techproducts > example. > It appears that the highlighting works on Mozilla Firefox, but not o

Re: highlight did not work correctly

2014-03-24 Thread Ahmet Arslan
Hi, You may need to increase hl.maxAnalyzedChars which has a default of 51200. On Monday, March 24, 2014 2:33 PM, "panzj.f...@cn.fujitsu.com" wrote: Hi all While using solr 4.6 to highlight the result, I ran into a strange situation. Most searching results were correctly highlighted. But

RE: Highlight results in Arabic are backword

2014-02-08 Thread Fatima Issawi
Thank you. I will look into that. > -Original Message- > From: Alexandre Rafalovitch [mailto:arafa...@gmail.com] > Sent: Sunday, February 09, 2014 9:35 AM > To: solr-user@lucene.apache.org > Subject: Re: Highlight results in Arabic are backword > > You will most prob

Re: Highlight results in Arabic are backword

2014-02-08 Thread Alexandre Rafalovitch
Fatima > >> -Original Message- >> From: Alexandre Rafalovitch [mailto:arafa...@gmail.com] >> Sent: Friday, February 07, 2014 3:48 AM >> To: solr-user@lucene.apache.org >> Subject: Re: Highlight results in Arabic are backword >> >> Arabic if comple

RE: Highlight results in Arabic are backword

2014-02-08 Thread Fatima Issawi
don't want to have to re-do everything later if there is a better way of designing this now. Regards, Fatima > -Original Message- > From: Alexandre Rafalovitch [mailto:arafa...@gmail.com] > Sent: Friday, February 07, 2014 3:48 AM > To: solr-user@lucene.apache.org > Su

Re: Highlight results in Arabic are backword

2014-02-06 Thread Alexandre Rafalovitch
Arabic if complex. Basically, don't trust anything you see until you put that content on the screen with the surrounding tag marked with attribute dir='rtl' (e.g. arabic test). Regards, Alex. Personal website: http://www.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovit

Re: Highlight results in Arabic are backword

2014-02-06 Thread Steve Rowe
Hi Fatima, I don’t think there’s an actual problem, it just looks like it because the program you’re using to look at the JSON makes a different choice for laying out the highlighting results than it does for the field values. In fact, all the bytes are the same, and in the same order for bot

Re: highlight feature is not working on "string" field type- Apache Solr

2013-12-10 Thread Furkan KAMACI
Hi; When you examine Solr example folder you can see that highlighting feature works for String field. Here is the definition for cat field that is a type of String: if you run that from your browser: http://localhost:8983/solr/collection1/select?q=cat:*%20AND%20name:samsung&hl=true&hl.fl=* Y

Re: Highlight: simple.pre/post not being applied always

2013-11-01 Thread Furkan KAMACI
Could you write down your parameters for highlighting and information about your "analysts_texts" field type? 2013/10/31 Andy Pickler > Solr: 4.5.1 > > I'm sending in a query of "july" and getting back the results and > highlighting I expect with one exception: > > > > > @@@hl@@@Julie@@@endh

Re: Highlight Problem

2013-07-26 Thread Furkan KAMACI
Ok, I've found that there was not a problem at config. 2013/7/26 Furkan KAMACI > This was at example solrconfig file: > > > > dismax > explicit > 0.01 > content^0.5 anchor^1.0 title^1.2 > content^0.5 anchor^1.5 title^1.2 site^1.5 > url > 100 >

Re: Highlight only when all keywords match

2013-05-20 Thread Upayavira
I can't give you much advice on the topic. I have reviewed the HighlightComponent and found it complex and hard to follow, so expect it to be challenging. Upayavira On Mon, May 20, 2013, at 01:28 PM, Sandeep Mestry wrote: > Thanks Upayavira for that valuable suggestion. > > I believe overriding

Re: Highlight only when all keywords match

2013-05-20 Thread Sandeep Mestry
Thanks Upayavira for that valuable suggestion. I believe overriding highlight component should be the way forward. Could you tell me if there is any existing example or which methods I should particularly override? Thanks, Sandeep On 20 May 2013 12:47, Upayavira wrote: > If you are saying tha

Re: Highlight only when all keywords match

2013-05-20 Thread Upayavira
If you are saying that you want to change highlighting behaviour, not query behaviour, then I suspect you are going to have to interact with the java HighlightComponent. If you can work out how to update that component to behave as you wish, you could either subclass it, or create your own implemen

Re: Highlight only when all keywords match

2013-05-20 Thread Sandeep Mestry
I doubt if that will be the correct approach as it will be hard to generate the query grammar considering we have support for phrase, operator, wildcard and group queries. That's why I have kept it simple and only passing the query text with minimal parsing (escaping lucene special characters) to c

Re: Highlight only when all keywords match

2013-05-20 Thread Jaideep Dhok
If you know all fields that need to be queried, you can rewrite it as - (assuming, f1, f2 are the fields that you have to search) (f1:kw1 AND f1:kw2 ... f1:kwn) OR (f2:kw1 AND f2:kw2 ... f2:kwn) - Jaideep On Mon, May 20, 2013 at 4:22 PM, Sandeep Mestry wrote: > Hi Jaideep, > > The edismax conf

Re: Highlight only when all keywords match

2013-05-20 Thread Sandeep Mestry
Hi Jaideep, The edismax config I have posted mentioned that the default operator is AND. I am sorry if I was not clear in my previous mail, what I need really is highlight a field when all search query terms present. The current highlighter works for *any* of the terms match and not for *all* term

Re: Highlight only when all keywords match

2013-05-20 Thread Jaideep Dhok
Sandeep, If you AND all keywords, that should be OK? Thanks Jaideep On Mon, May 20, 2013 at 3:44 PM, Sandeep Mestry wrote: > Dear All, > > I have a requirement to highlight a field only when all keywords entered > match. This also needs to support phrase, operator or wildcard queries. > I'm us

Re: highlight on same field with different fragsize

2013-04-01 Thread Erick Erickson
Why do you want to do this? Can't you just take the longer frag size and cut it down for display in the app? Best Erick On Mon, Apr 1, 2013 at 6:33 AM, meghana wrote: > We use Solr4.2 in our application. We need to return highlight on same field > 2 times, with different fragsize. Solr allows to

Re: Highlight the search word in results

2012-05-30 Thread Jack Krupansky
1. Please be specific as to what is not working. Is a highlighting section returned in the results? Is the field missing? Or what? 2. hl.fragsize is in characters. Something like 300 is more realistic. 3. Your "f.DESCRIPTION.hl.snippets=5" is missing its XML tags. I don't think you need this any

Re: Highlight feature

2012-05-22 Thread Chris Hostetter
: That is the default response format. If you would like to change that, : you could extend the search handler or post process the XML data. : Another option would be to use the javabin (if your app is java based) : and build xml the way your app would need. there is actaully a more straight f

Re: Highlight feature

2012-05-15 Thread Ramesh K Balasubramanian
That is the default response format. If you would like to change that, you could extend the search handler or post process the XML data. Another option would be to use the javabin (if your app is java based) and build xml the way your app would need.   Best Regards, Ramesh >

Re: Highlight feature

2012-05-15 Thread TJ Tong
I am also working on highlighting. I don't think so. And the ids in the highlighting part are the ids of the docs retrieved. -- View this message in context: http://lucene.472066.n3.nabble.com/Highlight-feature-tp3983875p3983887.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Highlight with multi word synonyms

2012-01-09 Thread O. Klein
Thanx! Not looking at Lucene project I totally missed that. Keep up the good work. -- View this message in context: http://lucene.472066.n3.nabble.com/Highlight-with-multi-word-synonyms-tp3610466p3644729.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Highlight with multi word synonyms

2012-01-09 Thread Koji Sekiguchi
(12/01/09 21:51), O. Klein wrote: Koji, maybe you missed my confirmation due to the hijacking of the thread. I am using Solr 4.0 and after reindexing with LUCENE_33 I got the behaviour for highlighting I want. So yeah, I can confirm this is a bug. Looking forward to a fix :) The fix of the p

Re: Highlight with multi word synonyms

2012-01-09 Thread O. Klein
Koji, maybe you missed my confirmation due to the hijacking of the thread. I am using Solr 4.0 and after reindexing with LUCENE_33 I got the behaviour for highlighting I want. So yeah, I can confirm this is a bug. Looking forward to a fix :) Koji Sekiguchi wrote > > (11/12/24 21:20), O. Klein

Re: Highlight with multi word synonyms

2011-12-25 Thread O. Klein
I am using Solr 4.0 and after reindexing with LUCENE_33 I got the behaviour for highlighting I want. So yeah, I can confirm this is a bug. Koji Sekiguchi wrote > > (11/12/24 21:20), O. Klein wrote: >> Copy pasted following text from lucene mailing list as it describes my >> problem: >> >> " I'm

Re: Highlight with multi word synonyms

2011-12-24 Thread Koji Sekiguchi
(11/12/24 21:20), O. Klein wrote: Copy pasted following text from lucene mailing list as it describes my problem: " I'm trying to use multi-word synonyms. For example in my synonyms file I have nhl, national hockey league. If I do this index only, a search for nhl returns a correct match, but hi

Re: highlight 1 field twice

2011-12-06 Thread Erik Hatcher
Within one request, it isn't possible to highlight the same field twice differently (what's the use case here?), but you could either make multiple requests or copyField to have two stored copies that could be highlighted separately in a single request. Erik On Dec 6, 2011, at 06:01 ,

Re: highlight issue

2011-12-02 Thread Ravish Bhagdev
Also, not entirely sure wild-cards are supported in text based fields, only on strings. Although things may have changed in recent versions of Solr, I am not sure. R On Thu, Dec 1, 2011 at 3:55 PM, Koji Sekiguchi wrote: > Suppose my search query is "*Rak*".In my database i have "*Rakesh >> Cha

Re: highlight issue

2011-12-01 Thread Koji Sekiguchi
Suppose my search query is "*Rak*".In my database i have "*Rakesh Chaturvedi *" name. I am getting "*RakRakesh Chaturvedi*" as the response. Same the case with the following names. Search "Dhar" -- highlight "DharDharmesh Darshan" Search "Suda"-- highlight "SudaSudarshan Faakir" Can som

Re: highlight on prefix query

2011-08-31 Thread Ahmed Boubaker
Well, that's one use case, there're others where you need to highlight only what is matching. For now, I solved the problem by writing an additional procedure to correct the highlighting. Not nice, but it works! On Sat, Aug 6, 2011 at 11:10 AM, Kissue Kissue wrote: > I think this is correct be

Re: Highlight on alternateField

2011-08-26 Thread Val Minyaylo
Thanks a lot Koji. On 8/25/2011 5:04 PM, Koji Sekiguchi wrote: (11/08/26 2:32), Val Minyaylo wrote: Hi there, I am trying to utilize highlighting alternateField and can't get highlights on the results from targeted fields. Is this expected behavior or am I understanding alternateFields wrong?

Re: Highlight on alternateField

2011-08-25 Thread Koji Sekiguchi
(11/08/26 2:32), Val Minyaylo wrote: Hi there, I am trying to utilize highlighting alternateField and can't get highlights on the results from targeted fields. Is this expected behavior or am I understanding alternateFields wrong? Yes, it is expected behavior. solrconfig.xml: description_hi

Re: highlight on prefix query

2011-08-06 Thread Kissue Kissue
I think this is correct behaviour. If you go to google and search for "Tel", you will see that telephone is highlighted. On Fri, Aug 5, 2011 at 5:42 PM, Ahmed Boubaker wrote: > Hi, > > I am using solr 3 and highlighting is working fine. However when using > prefix query like tel*, the highlighte

Re: Highlight whole query phrase

2011-07-06 Thread Romi
it is accidentally became elegant. anyway i got the solution without using hl.mergeContiguous , because its not working. look at http://jsfiddle.net/bhXbh/31/ for the solution - Thanks & Regards Romi -- View this message in context: http://lucene.472066.n3.nabble.com/Highlight-whole-query-phr

Re: Highlight whole query phrase

2011-07-06 Thread Marian Steinbach
On Wed, Jul 6, 2011 at 12:07, Romi wrote: > I included hl.mergeContiguous parameter. in my url but no effect on search > result highlighting. > actually i need to parse highlighting property. please look at > http://jsfiddle.net/bhXbh/4/ I just noticed that I actually don't understand what proble

Re: Highlight whole query phrase

2011-07-06 Thread Romi
I included hl.mergeContiguous parameter. in my url but no effect on search result highlighting. actually i need to parse highlighting property. please look at http://jsfiddle.net/bhXbh/4/ - Thanks & Regards Romi -- View this message in context: http://lucene.472066.n3.nabble.com/Highlight-wh

Re: Highlight whole query phrase

2011-07-06 Thread Marian Steinbach
On Wed, Jul 6, 2011 at 09:27, Romi wrote: > > Now how should i parse so that i got gold ring highlighted > Take a look at the hl.mergeContiguous parameter. http://wiki.apache.org/solr/HighlightingParameters#hl.mergeContiguous

Re: Highlight snippets for a set of known documents

2011-04-01 Thread Jay Luker
It turns out the answer is I'm a moron; I had an unnoticed "&rows=1" nestled in the querystring I was testing with. Anyway, thanks for replying! --jay On Fri, Apr 1, 2011 at 4:25 AM, Stefan Matheis wrote: > Jay, > > i'm not sure, but did you try it w/ brackets? > q=foobar&fq={!q.op=OR}(id:1 id:

Re: Highlight snippets for a set of known documents

2011-04-01 Thread Stefan Matheis
Jay, i'm not sure, but did you try it w/ brackets? q=foobar&fq={!q.op=OR}(id:1 id:5 id:11) Regards Stefan On Thu, Mar 31, 2011 at 6:40 PM, Jay Luker wrote: > Hi all, > > I'm trying to get highlight snippets for a set of known documents and > I must being doing something wrong because it's only

Re: Highlight question

2010-06-23 Thread Ahmet Arslan
> In the solrconfig.xml I have been able to change the > hl.simple.pre/post variable, but when I try to change the > hl,regex pattern or the hl.snippets they don't have any > effect. I thought the hl.snippets would alow me to find more > than one and highlight it, and well I tried a bunch of regex

Re: highlight multi-valued field returns weird cut-off highlighted terms

2010-03-05 Thread uwdanny
Thanks a lot Koji; I'll do some deep diving on my tokenizer modification part. appreciate the pointers! Koji Sekiguchi-2 wrote: > > uwdanny wrote: >> in this "error" case, the origin query "q=pizza" >> >> > indexed="true" stored="true" termVectors="false" omitNorms="true"/> >> >> > po

Re: highlight multi-valued field returns weird cut-off highlighted terms

2010-03-05 Thread Koji Sekiguchi
uwdanny wrote: in this "error" case, the origin query "q=pizza"

Re: highlight multi-valued field returns weird cut-off highlighted terms

2010-03-04 Thread uwdanny
in this "error" case, the origin query "q=pizza"

Re: highlight multi-valued field returns weird cut-off highlighted terms

2010-03-04 Thread Koji Sekiguchi
uwdanny wrote: Basically, the problem is that query keyword "pizza" occurs in 4 out of 10 values in multi-valued field "TEST_KEYWORDS"; in the first two matching/highlighting, only "pizz" is highlighted with an extra space beforehand ( pizz), and "a" is left behind; and in the other two highlight

Re: Highlight arbitrary text

2009-07-23 Thread Anders Melchiorsen
On Tue, 21 Jul 2009 14:25:52 +0200, Anders Melchiorsen wrote: > On Fri, 17 Jul 2009 16:04:24 +0200, Anders Melchiorsen wrote: >> However, in the normal highlighter, I am using usePhraseHighlighter and >> highlightMultiTerm and it seems that there is no way to turn these on in >> FieldAnalysisRequ

Re: Highlight arbitrary text

2009-07-21 Thread Anders Melchiorsen
On Fri, 17 Jul 2009 16:04:24 +0200, Anders Melchiorsen wrote: > On Thu, 16 Jul 2009 10:56:38 -0400, Erik Hatcher > wrote: > >> One trick worth noting is the FieldAnalysisRequestHandler can provide >> offsets from external text, which could be used for client-side >> highlighting (see the showmatc

Re: Highlight arbitrary text

2009-07-17 Thread Anders Melchiorsen
On Thu, 16 Jul 2009 10:56:38 -0400, Erik Hatcher wrote: > One trick worth noting is the FieldAnalysisRequestHandler can provide > offsets from external text, which could be used for client-side > highlighting (see the showmatch parameter too). Thanks. I tried doing this, and it almost works. Ho

Re: Highlight arbitrary text

2009-07-16 Thread Jason Rutherglen
Interesting, many sites don't store text in Lucene/Solr and so need a way to highlight text stored in a database (or some equivalent), they have two options, re-analyze the doc for the term positions or access the term vectors from Solr and hand them to the client who then performs the highlighting

Re: Highlight arbitrary text

2009-07-16 Thread Erik Hatcher
On Jul 16, 2009, at 7:41 AM, Shalin Shekhar Mangar wrote: On Thu, Jul 16, 2009 at 4:52 PM, Anders Melchiorsen wrote: What we want to do is to have an extra text highlighted by the Solr highlighter. That text should never be stored in the Solr index, but rather be provided in an HTTP reque

Re: Highlight arbitrary text

2009-07-16 Thread Shalin Shekhar Mangar
On Thu, Jul 16, 2009 at 4:52 PM, Anders Melchiorsen wrote: > > What we want to do is to have an extra text highlighted by the Solr > highlighter. That text should never be stored in the Solr index, but rather > be provided in an HTTP request along with the search query. > > Is this possible? > I

Re: Highlight arbitrary text

2009-07-16 Thread Anders Melchiorsen
On Wed, 15 Jul 2009 11:54:22 +0200, Anders Melchiorsen wrote: > Is it possible to have Solr highlight an arbitrary text that is posted at > request time? Hi again. I wonder whether my question was too terse to be well understood. What we want to do is to have an extra text highlighted by the S

Re: Highlight MoreLikeThis results?

2009-05-04 Thread Matt Weber
There was a thread about this last week and verdict is currently you can't highlight MoreLikeThis results. Thanks, Matt Weber On May 4, 2009, at 1:22 AM, jli...@gmail.com wrote: My query returns a number of MoreLikeThis results for a given document. I wonder if there is a way to highligh

RE: Highlight question

2009-04-23 Thread Bertrand DUMAS-PILHOU
Thanks a lot for your answer, I'm going to test and I will reply. Bertrand Ensdorf Ken wrote: > > Add the following parameters to the url: > > hl=true&hl.fl=xhtml > > http://wiki.apache.org/solr/HighlightingParameters > > > >> -Original Message- >> From: Bertrand DUMAS-PILHOU [mail

  1   2   >