Re: Solr Highlighting not working

2020-11-30 Thread Ajay Sharma
Hi All, pushing the query to the top. Does anyone have any idea about it? On Fri, Nov 27, 2020 at 11:49 AM Ajay Sharma wrote: > Hi Community, > > This is the first time, I am implementing a solr *highlighting *feature. > I have read the concept via solr documentation > Link-

Solr Highlighting not working

2020-11-26 Thread Ajay Sharma
Hi Community, This is the first time, I am implementing a solr *highlighting *feature. I have read the concept via solr documentation Link- https://lucene.apache.org/solr/guide/8_2/highlighting.html To enable highlighting I just have to add *=true=* *in our solr query and got the snippet in the

RE: highlighting not working as expected

2019-07-01 Thread Martin Frank Hansen (MHQ)
Hi Edwin, Thanks for your explanation, makes sense now. Best regards Martin Internal - KMD A/S -Original Message- From: Zheng Lin Edwin Yeo Sent: 30. juni 2019 01:57 To: solr-user@lucene.apache.org Subject: Re: highlighting not working as expected Hi, If you are using the type

Re: highlighting not working as expected

2019-06-29 Thread Zheng Lin Edwin Yeo
urned. > > Best regards > > Martin > > > Internal - KMD A/S > > -Original Message- > From: Jörn Franke > Sent: 11. juni 2019 08:45 > To: solr-user@lucene.apache.org > Subject: Re: highlighting not working as expected > > Could it be a stop

RE: highlighting not working as expected

2019-06-25 Thread Martin Frank Hansen (MHQ)
örn Franke Sent: 11. juni 2019 08:45 To: solr-user@lucene.apache.org Subject: Re: highlighting not working as expected Could it be a stop word ? What is the exact type definition of those fields? Could this word be omitted or with wrong encoding during loading of the documents? > Am 03.0

RE: highlighting not working as expected

2019-06-17 Thread Martin Frank Hansen (MHQ)
Hi Edwin, Yes the field is defined just like the other fields: BR Martin Internal - KMD A/S -Original Message- From: Zheng Lin Edwin Yeo Sent: 4. juni 2019 10:32 To: solr-user@lucene.apache.org Subject: Re: highlighting not working as expected Hi Martin, What fieldType are you

RE: highlighting not working as expected

2019-06-17 Thread Martin Frank Hansen (MHQ)
-Original Message- From: Jörn Franke Sent: 11. juni 2019 08:45 To: solr-user@lucene.apache.org Subject: Re: highlighting not working as expected Could it be a stop word ? What is the exact type definition of those fields? Could this word be omitted or with wrong encoding during loading

Re: highlighting not working as expected

2019-06-11 Thread Jörn Franke
Could it be a stop word ? What is the exact type definition of those fields? Could this word be omitted or with wrong encoding during loading of the documents? > Am 03.06.2019 um 10:06 schrieb Martin Frank Hansen (MHQ) : > > Hi, > > I am having some difficulties making highlighting work. For

RE: highlighting not working as expected

2019-06-11 Thread Martin Frank Hansen (MHQ)
Hi David, Thanks for your response and sorry my late reply. Still the same result when using hl.method=unified. Best regards Martin Internal - KMD A/S -Original Message- From: David Smiley Sent: 10. juni 2019 16:48 To: solr-user Subject: Re: highlighting not working as expected

Re: highlighting not working as expected

2019-06-10 Thread David Smiley
Please try hl.method=unified and tell us if that helps. ~ David Smiley Apache Lucene/Solr Search Developer http://www.linkedin.com/in/davidwsmiley On Mon, Jun 3, 2019 at 4:06 AM Martin Frank Hansen (MHQ) wrote: > Hi, > > I am having some difficulties making highlighting work. For some reason

Re: highlighting not working as expected

2019-06-04 Thread Zheng Lin Edwin Yeo
Hi Martin, What fieldType are you using for the field “Sagstitel”? Is it the same as other fields? Regards, Edwin On Mon, 3 Jun 2019 at 16:06, Martin Frank Hansen (MHQ) wrote: > Hi, > > I am having some difficulties making highlighting work. For some reason > the highlighting feature only

highlighting not working as expected

2019-06-03 Thread Martin Frank Hansen (MHQ)
Hi, I am having some difficulties making highlighting work. For some reason the highlighting feature only works on some fields but not on other fields even though these fields are stored. An example of a request looks like this:

RE: Solr 6.0 Highlighting Not Working

2016-10-25 Thread Teague James
Hi - Thanks for the reply, I'll give that a try.   -Original Message- From: jimtronic [mailto:jimtro...@gmail.com] Sent: Monday, October 24, 2016 3:56 PM To: solr-user@lucene.apache.org Subject: Re: Solr 6.0 Highlighting Not Working Perhaps you need to wrap your inner "" a

Re: Solr 6.0 Highlighting Not Working

2016-10-24 Thread jimtronic
Perhaps you need to wrap your inner "" and "" tags in the CDATA structure? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-6-0-Highlighting-Not-Working-tp4302787p4302835.html Sent from the Solr - User mailing list archive at Nabble.com.

Solr 6.0 Highlighting Not Working

2016-10-24 Thread Teague James
Can someone please help me troubleshoot my Solr 6.0 highlighting issue? I have a production Solr 4.9.0 unit configured to highlight responses and it has worked for a long time now without issues. I have recently been testing Solr 6.0 and have been unable to get highlighting to work. I used my 4.9

Solr 6 Highlighting Not Working

2016-10-21 Thread Teague James
Can someone please help me troubleshoot my Solr 6.0 highlighting issue? I have a production Solr 4.9.0 unit configured to highlight responses and it has worked for a long time now without issues. I have recently been testing Solr 6.0 and have been unable to get highlighting to work. I used my 4.9

Re: Highlighting not working

2014-06-18 Thread vicky
Were you ever able to resolve this issue? I am having same issue and highligh is not working for me on solr 4.8? -- View this message in context: http://lucene.472066.n3.nabble.com/Highlighting-not-working-tp4112659p4142513.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: Highlighting not working

2014-06-18 Thread Teague James
10:28 AM To: solr-user@lucene.apache.org Subject: Re: Highlighting not working Were you ever able to resolve this issue? I am having same issue and highligh is not working for me on solr 4.8? -- View this message in context: http://lucene.472066.n3.nabble.com/Highlighting-not-working

Re: Highlighting not working

2014-01-23 Thread Ahmet Arslan
think) because of the term*=true  settings. Thanks again, Fatima -Original Message- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent: Wednesday, January 22, 2014 5:02 PM To: solr-user@lucene.apache.org Subject: Re: Highlighting not working Hi Fatima, To enable higlighting

Highlighting not working

2014-01-22 Thread Fatima Issawi
Hello, I'm trying to highlight content that is returned from a Solr query, but I can't seem to get it working. I would like to highlight the documentname and the pagetext or content results, but when I run the search I don't get anything returned. I thought that the content field is supposed

RE: Highlighting not working

2014-01-22 Thread Fatima Issawi
str name=f.content.hl.maxAlternateFieldLength750/str -Original Message- From: Fatima Issawi [mailto:issa...@qu.edu.qa] Sent: Wednesday, January 22, 2014 11:34 AM To: solr-user@lucene.apache.org Subject: Highlighting not working Hello, I'm trying to highlight content

Re: Highlighting not working

2014-01-22 Thread Ahmet Arslan
: Highlighting not working Hello, I'm trying to highlight content that is returned from a Solr query, but I can't seem to get it working. I would like to highlight the documentname and the pagetext or content results, but when I run the search I don't get anything returned. I thought

RE: Highlighting not working

2014-01-22 Thread Fatima Issawi
, 2014 5:02 PM To: solr-user@lucene.apache.org Subject: Re: Highlighting not working Hi Fatima, To enable higlighting (both standard and fastvector) you need to make stored=true. Term vectors may speed up standard highlighter. Plus they are mandatory for FastVectorHighligher. https

Re: Urgent! Highlighting not working as expected

2012-05-17 Thread Chris Hostetter
copyField is a literal operation that happens at index time -- but it really has no bearing what so ever on highlighting done at query time. there is no memory of what source fields any values came from, so it doesn't affect things in any way. You haven't provided any details about your

Re: Urgent! Highlighting not working as expected

2012-05-15 Thread TJ Tong
-Moneyhl=truehl.fl=*, it will be highlighted. I attached my solrconfig.xml here, could you please take a look? Thanks again! http://lucene.472066.n3.nabble.com/file/n3983883/solrconfig.xml solrconfig.xml -- View this message in context: http://lucene.472066.n3.nabble.com/Urgent-Highlighting

Re: Urgent! Highlighting not working as expected

2012-05-15 Thread Jack Krupansky
terms. BTW, I presume that should be first name, not frist name. -- Jack Krupansky -Original Message- From: TJ Tong Sent: Tuesday, May 15, 2012 11:15 AM To: solr-user@lucene.apache.org Subject: Re: Urgent! Highlighting not working as expected Hi Jack, Thanks for your reply. I did

Re: Urgent! Highlighting not working as expected

2012-05-15 Thread TJ Tong
this message in context: http://lucene.472066.n3.nabble.com/Urgent-Highlighting-not-working-as-expected-tp3983755p3983907.html Sent from the Solr - User mailing list archive at Nabble.com.

Urgent! Highlighting not working as expected

2012-05-14 Thread TJ Tong
/Urgent-Highlighting-not-working-as-expected-tp3983755.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Urgent! Highlighting not working as expected

2012-05-14 Thread Jack Krupansky
: TJ Tong Sent: Monday, May 14, 2012 4:44 PM To: solr-user@lucene.apache.org Subject: Urgent! Highlighting not working as expected Dear all, I queried Solr (3.5) with this: q=text:G-Moneyhl=truehl.fl=*, where text is a text field and all the other fields were copied to it. I got three records

Re: Solr Highlighting not working with PayloadTermQueries

2012-02-22 Thread Koji Sekiguchi
if( pq.getTerms().length == 1 ){ flatQueries.add( new TermQuery( pq.getTerms()[0] ) ); } } } // else discard queries } What is the best way to get highlighting working with Payload Term Queries? Hi Nitin, Thank you for reporting this problem! Your assumption

Solr Highlighting not working with PayloadTermQueries

2012-02-21 Thread Nitin Arora
){ flatQueries.add( new TermQuery( pq.getTerms()[0] ) ); } } } // else discard queries } What is the best way to get highlighting working with Payload Term Queries? Thanks Nitin -- View this message in context: http://lucene.472066.n3.nabble.com/Solr

Highlighting not working

2011-04-07 Thread Tom Mortimer
Hi, I'm having trouble getting highlighting to work for a large text field. This field can be in several languages, so I'm sending it to one of several fields configured appropriately (e.g. cv_text_en) and then copying it to a common field for storage and display (cv_text). The relevant fragment

Re: Highlighting not working

2011-04-07 Thread Tom Mortimer
I guess what I'm asking is - can Solr highlight non-indexed fields? Tom On 7 April 2011 11:33, Tom Mortimer t...@flax.co.uk wrote: Hi, I'm having trouble getting highlighting to work for a large text field. This field can be in several languages, so I'm sending it to one of several fields

Re: Highlighting not working

2011-04-07 Thread Ahmet Arslan
I guess what I'm asking is - can Solr highlight non-indexed fields? http://wiki.apache.org/solr/FieldOptionsByUseCase

Re: Highlighting not working

2011-04-07 Thread Tom Mortimer
Problem solved. *bangs head on desk* T On 7 April 2011 11:33, Tom Mortimer t...@flax.co.uk wrote: Hi, I'm having trouble getting highlighting to work for a large text field. This field can be in several languages, so I'm sending it to one of several fields configured appropriately (e.g.

highlighting not working with Solr 3.0 trunk?

2011-01-07 Thread Teruhiko Kurosaka
I've downloaded http://svn.apache.org/repos/asf/lucene/dev/branches/branch_3x and ran ant there. I've followed the tutorial but highlighting on analyzer debug screen isn't working. This link found in the tutorial doesn't show any highlight.

Highlighting not working on a prefix_token field

2009-09-23 Thread Avlesh Singh
I have a prefix_token field defined as underneath in my schema.xml fieldType name=prefix_token class=solr.TextField positionIncrementGap=1 analyzer type=index tokenizer class=solr.WhitespaceTokenizerFactory/ filter class=solr.LowerCaseFilterFactory / filter

Re: Highlighting not working on a prefix_token field

2009-09-23 Thread Shalin Shekhar Mangar
On Wed, Sep 23, 2009 at 12:23 PM, Avlesh Singh avl...@gmail.com wrote: I have a prefix_token field defined as underneath in my schema.xml fieldType name=prefix_token class=solr.TextField positionIncrementGap=1 analyzer type=index tokenizer class=solr.WhitespaceTokenizerFactory/

Re: Highlighting not working on a prefix_token field

2009-09-23 Thread Avlesh Singh
Hmmm .. But ngrams with KeywordTokenizerFactory instead of the WhitespaceTokenizerFactory work just as fine. Related issues? Cheers Avlesh On Wed, Sep 23, 2009 at 12:27 PM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: On Wed, Sep 23, 2009 at 12:23 PM, Avlesh Singh avl...@gmail.com

Re: Highlighting not working on a prefix_token field

2009-09-23 Thread Shalin Shekhar Mangar
On Wed, Sep 23, 2009 at 12:31 PM, Avlesh Singh avl...@gmail.com wrote: Hmmm .. But ngrams with KeywordTokenizerFactory instead of the WhitespaceTokenizerFactory work just as fine. Related issues? I'm sorry I don't understand the question. Do you mean to say that highlighting works with one

Re: Highlighting not working on a prefix_token field

2009-09-23 Thread Avlesh Singh
I'm sorry I don't understand the question. Do you mean to say that highlighting works with one but not with another? Yes. Cheers Avlesh On Wed, Sep 23, 2009 at 12:59 PM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: On Wed, Sep 23, 2009 at 12:31 PM, Avlesh Singh avl...@gmail.com

Re: SolrJ: Highlighting not Working

2009-06-18 Thread Mark Miller
Why do you have: query.set(hl.maxAnalyzedChars, -1); Have you tried using the default? Unless -1 is an undoc'd feature, this means you wouldnt get anything back! This should normally be a fairly hefty value and defaults to 51200, according to the wiki. And why: query.set(hl.fragsize, 1);

Re: SolrJ: Highlighting not Working

2009-06-18 Thread Bruno
I've tried with default values and didn't work either. On Thu, Jun 18, 2009 at 2:31 PM, Mark Miller markrmil...@gmail.com wrote: Why do you have: query.set(hl.maxAnalyzedChars, -1); Have you tried using the default? Unless -1 is an undoc'd feature, this means you wouldnt get anything back!

Re: SolrJ: Highlighting not Working

2009-06-18 Thread Bruno
Couple of things I've forgot to mention: Solr Version: 1.3 Enviroment: Websphere On Thu, Jun 18, 2009 at 2:34 PM, Bruno brun...@gmail.com wrote: I've tried with default values and didn't work either. On Thu, Jun 18, 2009 at 2:31 PM, Mark Miller markrmil...@gmail.comwrote: Why do you have:

Re: SolrJ: Highlighting not Working

2009-06-18 Thread Mark Miller
Nothing off the top of my head ... I can play around with some of the solrj unit tests a bit later and perhaps see if I can dig anything up. Note: if you expect wildcard/prefix/etc queries to highlight, they will not with Solr 1.3. query.set(hl.highlightMultiTerm, *true*); The above only

Re: SolrJ: Highlighting not Working

2009-06-18 Thread Erik Hatcher
Note that highlighting is NOT part of the document list returned. It's in an additional NamedList section of the response (with name=highlighting) Erik On Jun 18, 2009, at 1:22 PM, Bruno wrote: Hi guys. I new at using highlighting, so probably I'm making some stupid mistake,

Re: SolrJ: Highlighting not Working

2009-06-18 Thread Bruno
Here is the query, search for the term ipod on the log field

Re: SolrJ: Highlighting not Working

2009-06-18 Thread Bruno
I've checked the NamedList you told me about, but it contains only one highlighted doc, when there I have more docs that sould be highlighted. On Thu, Jun 18, 2009 at 3:03 PM, Erik Hatcher e...@ehatchersolutions.comwrote: Note that highlighting is NOT part of the document list returned. It's

Re: SolrJ: Highlighting not Working

2009-06-18 Thread Bruno
Just figured out what happened... It's necessary for the schema to have a uniqueKey set, otherwise, highlighting will have one or less entries, as the map's key is the doc uniqueKey, so on debuggin I figured out that the QueryResponse tries to put all highlighted results in a map with null key...

Re: SolrJ: Highlighting not Working

2009-06-18 Thread Erik Hatcher
And unfortunately, that isn't the best approach for highlighting to take - a uniqueKey shouldn't be required for highlighting. I've yet to see a real-world deployment of Solr that did not have a uniqueKey field, but there's no reason Solr should make that assumption. Erik On Jun

Highlighting not working

2009-01-02 Thread Sushil Vegad
(XMLResponseParser.java:291) at org.apache.solr.client.solrj.impl.XMLResponseParser.processResponse(XMLResponseParser.java:127) http://www.nabble.com/file/p21254049/solrconfig.xml solrconfig.xml -- View this message in context: http://www.nabble.com/Highlighting-not-working-tp21254049p21254049