Re: Highlighting large text fields

2021-01-12 Thread Shaun Campbell
Hi David Just reindexed everything and it appears to be performing well and giving me highlights for the matched text. Thanks for your help. Shaun On Tue, 12 Jan 2021, 21:00 David Smiley, wrote: > The last update to highlighting that I think is pertinent to > whether highlights match or not

Re: Highlighting large text fields

2021-01-12 Thread David Smiley
The last update to highlighting that I think is pertinent to whether highlights match or not is v7.6 which added that hl.weightMatches option. So I recommend upgrading to at least that if you want to experiment further. But... uh.weightMatches highlights more accurately and as such is more

Re: Highlighting large text fields

2021-01-12 Thread Shaun Campbell
That's great David. So hl.maxAnalyzedChars isn't that critical. I'll whack it right up and see what happens. I'm running 7.4 from a few years ago. Should I upgrade? For your info this is what I'm doing with Solr https://dev.fundingawards.nihr.ac.uk/search. Thanks Shaun On Tue, 12 Jan 2021 at

Re: Highlighting large text fields

2021-01-12 Thread David Smiley
On Tue, Jan 12, 2021 at 1:08 PM Shaun Campbell wrote: > Hi David > > Getting closer now. > > First of all, a bit of a mistake on my part. I have two cores set up and I > was changing the solrconfig.xml on the wrong core doh!! That's why > highlighting wasn't being turned off. > > I think I've

Re: Highlighting large text fields

2021-01-12 Thread Shaun Campbell
Hi David Getting closer now. First of all, a bit of a mistake on my part. I have two cores set up and I was changing the solrconfig.xml on the wrong core doh!! That's why highlighting wasn't being turned off. I think I've got the unified highlighter working. storeOffsetsWithPositions was

Re: Highlighting large text fields

2021-01-12 Thread David Smiley
On Tue, Jan 12, 2021 at 9:39 AM Shaun Campbell wrote: > Hi David > > First of all I wanted to say I'm working off your book!! Third edition, > and I think it's a bit out of date now. I was just going to try following > the section on the Postings highlighter, but I see that's been absorbed >

Re: Highlighting large text fields

2021-01-12 Thread Shaun Campbell
Hi David First of all I wanted to say I'm working off your book!! Third edition, and I think it's a bit out of date now. I was just going to try following the section on the Postings highlighter, but I see that's been absorbed into the Unified highlighter. I find your book easier to follow than

Re: Highlighting large text fields

2021-01-11 Thread David Smiley
Hello! I worked on the UnifiedHighlighter a lot and want to help you! On Mon, Jan 11, 2021 at 9:58 AM Shaun Campbell wrote: > I've been using highlighting for a while, using the original highlighter, > and just come across a problem with fields that contain a large amount of > text, approx

Re: Highlighting values of non stored fields

2020-06-14 Thread mosh bla
tored (no match on stored field doc_text...). Is there any way to make it highlighted without also storing doc_text_morph field? Thanks again...         Sent: Monday, June 08, 2020 at 3:39 PM From: "Erick Erickson" To: solr-user@lucene.apache.org Subject: Re: Highlighting values of no

Re: Highlighting values of non stored fields

2020-06-08 Thread Erick Erickson
clusion was that 'hl.fl' param should be set to > 'doc_text_lw' and it must be also stored... > > > > > Sent: Tuesday, June 02, 2020 at 3:15 PM > From: "Erick Erickson" > To: solr-user@lucene.apache.org > Subject: Re: Highlighting values of non stored fields &g

Re: Highlighting values of non stored fields

2020-06-07 Thread mosh bla
method' param to 'unified' and 'fastVector' but no luck either. My conclusion was that 'hl.fl' param should be set to 'doc_text_lw' and it must be also stored...       Sent: Tuesday, June 02, 2020 at 3:15 PM From: "Erick Erickson" To: solr-user@lucene.apache.org Subject: Re: Highlighting val

Re: Highlighting values of non stored fields

2020-06-02 Thread Erick Erickson
Why do you think even variants need to be stored/highlighted? Usually when you store variants for ranking purposes those extra copies are invisible to the user. So most often people store exactly one copy of a particular field and highlight _that_ field in the return. So say my field is f1 and I

Re: highlighting a whole html document using Unified highlighter

2020-05-24 Thread Jörn Franke
iginal Message- > From: Jörn Franke [mailto:jornfra...@gmail.com] > Sent: Sunday, May 24, 2020 1:22 PM > To: solr-user@lucene.apache.org > Subject: Re: highlighting a whole html document using Unified highlighter > > hl.fragsize=0 > > https://lucene.apache.org/solr/guide/8_

Re: highlighting a whole html document using Unified highlighter

2020-05-24 Thread Serkan KAZANCI
field data coming from meta-tags and not strip the html >> tags) >> >> Then I could use solr.HTMLStripCharFilterFactory for analysis. >> >> Thank You, >> >> Serkan, >> >> >> >> >> -Original Message- >> From: David Smi

Re: highlighting a whole html document using Unified highlighter

2020-05-24 Thread David Smiley
e document is displayed with hl.fragsize=0 > > parameter, it is displayed as original html document? > > > > Or > > > > Is it possible to give a whole html document as a parameter to the > Unified > > highlighter so that output is also a highlighted html doc

RE: highlighting a whole html document using Unified highlighter

2020-05-24 Thread Serkan KAZANCI
, -Original Message- From: David Smiley [mailto:dsmi...@apache.org] Sent: Sunday, May 24, 2020 5:26 PM To: solr-user Subject: Re: highlighting a whole html document using Unified highlighter Instead of stripping the HTML for the stored value, leave it be and remove it during the analysis stage

Re: highlighting a whole html document using Unified highlighter

2020-05-24 Thread David Smiley
whole html > document? > > Thanks, > > Serkan > > -Original Message- > From: Jörn Franke [mailto:jornfra...@gmail.com] > Sent: Sunday, May 24, 2020 1:22 PM > To: solr-user@lucene.apache.org > Subject: Re: highlighting a whole html document using Unified highlight

RE: highlighting a whole html document using Unified highlighter

2020-05-24 Thread Serkan KAZANCI
, May 24, 2020 1:22 PM To: solr-user@lucene.apache.org Subject: Re: highlighting a whole html document using Unified highlighter hl.fragsize=0 https://lucene.apache.org/solr/guide/8_5/highlighting.html > Am 24.05.2020 um 11:49 schrieb Serkan KAZANCI : > > Hi, > > > >

Re: highlighting a whole html document using Unified highlighter

2020-05-24 Thread Jörn Franke
hl.fragsize=0 https://lucene.apache.org/solr/guide/8_5/highlighting.html > Am 24.05.2020 um 11:49 schrieb Serkan KAZANCI : > > Hi, > > > > I use solr to search over a million html documents, when a document is > searched and displayed, I want to highlight the keywords that are used to >

Re: Highlighting Solr 8

2020-05-22 Thread David Smiley
c Allen - Software Devloper, NetDocuments > eric.al...@netdocuments.com | O: 801.989.9691 | C: 801.989.9691 > > -Original Message- > From: sasarun > Sent: Wednesday, October 16, 2019 2:45 AM > To: solr-user@lucene.apache.org > Subject: Re: Highlighting Solr 8 > >

Re: Highlighting on typing in search box

2019-11-24 Thread Paras Lehana
Hi rhys, You are actually looking for an autocomplete! I work for the Auto-Suggest (different names for the same thing) team at Indiamart. Although we have a long journey making our Auto-Suggest one of the fastest on the internet, I hope this summary will help you. You can always connect with me

Re: Highlighting on typing in search box

2019-11-21 Thread rhys J
Thank you both! I've got an autocomplete working on a basic format right now, and I'm working on implementing it to be smart about which core it searches. On Thu, Nov 21, 2019 at 11:43 AM Jörn Franke wrote: > It sounds like you look for a suggester. > > You can use the suggester of Solr. > >

Re: Highlighting on typing in search box

2019-11-21 Thread Jörn Franke
It sounds like you look for a suggester. You can use the suggester of Solr. For the visualization part: Angular has a suggestion box that can ingest the results from Solr. > Am 21.11.2019 um 16:42 schrieb rhys J : > > Are there any recommended APIs or code examples of using Solr and then >

Re: Highlighting on typing in search box

2019-11-21 Thread David Hastings
you can modify the result in this SO question to fit your needs: https://stackoverflow.com/questions/16742610/retrieve-results-from-solr-using-jquery-calls On Thu, Nov 21, 2019 at 10:42 AM rhys J wrote: > Are there any recommended APIs or code examples of using Solr and then > highlighting

RE: Highlighting Solr 8

2019-10-16 Thread Eric Allen
r-user@lucene.apache.org Subject: Re: Highlighting Solr 8 Hi Eric, Unified highlighter does not have an option to provide alternate field when highlighting. That option is available with Orginal and fast vector highlighter. As indicated in the Solr documentation, Unified is the recommended

Re: Highlighting Solr 8

2019-10-16 Thread sasarun
Hi Eric, Unified highlighter does not have an option to provide alternate field when highlighting. That option is available with Orginal and fast vector highlighter. As indicated in the Solr documentation, Unified is the recommended method for highlighting to meet most of the use cases. Please do

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

Re: Highlighting

2019-04-15 Thread Shawn Heisey
On 4/15/2019 11:36 AM, Mike Phillips wrote: I don't understand why highlighting does not return anything but the document id. I created a core imported all my data, everything seems like it should be working. From reading the documentation I expect it to show me highlight information for

Re: Highlighting is not working with docValues only String field

2018-08-13 Thread Karthik Ramachandran
I have opened JIRA https://issues.apache.org/jira/browse/SOLR-12663 On Sat, Aug 11, 2018 at 8:59 PM Erick Erickson wrote: > I can see why it wouldn't and also why it could/should. I also wonder about > SortableTextField, perhaps mention that too. > > Seems worth a JIRA to me if there isn't one

Re: Highlighting is not working with docValues only String field

2018-08-11 Thread Erick Erickson
I can see why it wouldn't and also why it could/should. I also wonder about SortableTextField, perhaps mention that too. Seems worth a JIRA to me if there isn't one already On Fri, Aug 10, 2018, 19:49 Karthik Ramachandran < kramachand...@commvault.com> wrote: > We are using Solr 7.2.1,

Re: Highlighting the search keywords

2018-08-07 Thread Renuka Srishti
First of all thanks to all, its a great community and amazing experience to work with Apache Solr. I was trying to use highlight component inside suggest request handler by mentioning highlight component like this: suggest highlight So I can use suggestions and highlighter at the same time,

Re: Highlighting the search keywords

2018-08-01 Thread Nicolas Franck
Nope, that is how it works. It is not in place. > On 31 Jul 2018, at 21:57, Renuka Srishti wrote: > > Hi All, > > I was using highlighting in solr, solr gives highlighting results within > the response but not included within the documents. > Am i missing something? Can i configure so that it

Re: Highlighting Performance improvement suggestions required - Solr 6.5.1

2017-08-09 Thread Michael Braun
Have you attached JVisualVM or a similar tool for sampling when Solr is answering the requests with highlight? What relevant methods are coming up? On Wed, Aug 9, 2017 at 11:26 AM, sasarun wrote: > Hi Amrit, > > Thanks for the response. I did went through both and that is how

Re: Highlighting Performance improvement suggestions required - Solr 6.5.1

2017-08-09 Thread sasarun
Hi Amrit, Thanks for the response. I did went through both and that is how I landed up with unified method for highlighter Thanks, Arun -- View this message in context:

Re: Highlighting Performance improvement suggestions required - Solr 6.5.1

2017-08-09 Thread Amrit Sarkar
Pardon I didn't go through details in configs and I guess you have already went through the recent talks on highlighters, still sharing if not: https://www.slideshare.net/lucidworks/solr-highlighting-at-full-speed-presented-by-timothy-rodriguez-bloomberg-david-smiley-d-w-smiley-llc

Re: Highlighting words with special characters

2017-07-20 Thread Lasitha Wattaladeniya
Hi Shawn, Yes I can confirm, it works with out any errors with multiple tokenizers. Following is my analysis chain StandardTokenizerFactory (only in index) StopFilterFactory LowerCaseFilterFactory ASCIIFoldingFilterFactory EnglishPossessiveFilterFactory StemmerOverrideFilterFactory (only in

Re: Highlighting words with special characters

2017-07-19 Thread Lasitha Wattaladeniya
Hi ahmet, But I have NgramTokenizerFactory at the end of indexing analyzer chain. Therefore I should still tokenize the email address. But how this affects the highlighting?, that's what I'm confused to understand Solr version : 4.10.4 Regards, Lasitha On 20 Jul 2017 08:28, "Ahmet Arslan"

Re: Highlighting words with special characters

2017-07-19 Thread Ahmet Arslan
Hi, Maybe name of the UAX29URLEMailTokenizer is deceiving you?It does *not* tokenize URLs and Emails. Actually it recognises them and emits them as a single token. Ahmet On Wednesday, July 19, 2017, 12:00:05 PM GMT+3, Lasitha Wattaladeniya wrote: Update, I changed the

Re: Highlighting words with special characters

2017-07-19 Thread Lasitha Wattaladeniya
Update, I changed the UAX29URLEmailTokenizerFactory to StandardTokenizerFactory and now it shows highlighted text fragments in the indexed email text. But I don't understand this behavior. Can someone shed some light please On 18 Jul 2017 14:18, "Lasitha Wattaladeniya"

Re: Highlighting words with special characters

2017-07-18 Thread Lasitha Wattaladeniya
Further more, ngram field has following tokenizer/filter chain in index and query UAX29URLEmailTokenizerFactory (only in index) stopFilterFactory LowerCaseFilterFactory ASCIIFoldingFilterFactory EnglishPossessiveFilterFactory StemmerOverrideFilterFactory (only in query) NgramTokenizerFactory

Re: Highlighting, offsets -- external doc store

2016-11-29 Thread John Bickerstaff
Thank you Simon. On Tue, Nov 29, 2016 at 11:25 AM, simon wrote: > You might want to take a look at > https://issues.apache.org/jira/browse/SOLR-4722 > ( 'highlighter which generates a list of query term positions'). We used it > a while back and doesn't appear to have been

Re: Highlighting, offsets -- external doc store

2016-11-29 Thread simon
You might want to take a look at https://issues.apache.org/jira/browse/SOLR-4722 ( 'highlighter which generates a list of query term positions'). We used it a while back and doesn't appear to have been used in any Solr > 4.10) -Simon On Tue, Nov 29, 2016 at 11:43 AM, John Bickerstaff

Re: Highlighting, offsets -- external doc store

2016-11-29 Thread John Bickerstaff
Beautiful! Thank you all - that is exactly what I needed to be sure where I stood on this before going into a meeting today. On Tue, Nov 29, 2016 at 11:03 AM, Kevin Risden wrote: > For #2 you might be able to get away with the following: > >

Re: Highlighting, offsets -- external doc store

2016-11-29 Thread Kevin Risden
For #2 you might be able to get away with the following: https://cwiki.apache.org/confluence/display/solr/The+Term+Vector+Component The Term Vector component can return offsets and positions. Not sure how useful they would be to you, but at least is a starting point. I'm assuming this requires

Re: Highlighting, offsets -- external doc store

2016-11-29 Thread Kevin Risden
For #3 specifically, I've always found this page useful: https://cwiki.apache.org/confluence/display/solr/Field+Properties+by+Use+Case It lists out what properties are necessary on each field based on a use case. Kevin Risden On Tue, Nov 29, 2016 at 11:49 AM, Erick Erickson

Re: Highlighting, offsets -- external doc store

2016-11-29 Thread Erick Erickson
(1) No that I have readily at hand. And to make it worse, there's the UnifiedHighlighter coming out soon I don't think there's a good way for (2). for (3) at least yes. The reason is simple. For analyzed text, the only thing in the index is what's made it through the analysis chains. So

Re: highlighting on child document

2016-11-17 Thread Yangrui Guo
Thanks. Does Solr plan to add highlighting on children in future? On Thursday, November 17, 2016, vstrugatsky wrote: > It appears that highlighting works for fields in the parent documents only. > https://issues.apache.org/jira/browse/LUCENE-5929 only fixed a bug when >

Re: highlighting on child document

2016-11-17 Thread vstrugatsky
It appears that highlighting works for fields in the parent documents only. https://issues.apache.org/jira/browse/LUCENE-5929 only fixed a bug when trying to highlight fields in a parent document when using Block Join Parser. -- View this message in context:

RE: Highlighting brings in irrelevant words

2016-09-30 Thread Bade, Vidya (Sagar)
Forgot to include: All the three fields used for highlighting are configured as follows: Thank You, :Sagar -Original Message- From: Bade, Vidya (Sagar) [mailto:vb...@webmd.net] Sent: Friday, September 30, 2016 2:12 PM To: solr-user@lucene.apache.org Subject: Highlighting brings in

Re: Highlighting phone numbers

2016-05-19 Thread marotosg
Thanks. Using the debug query returns the info I need. -- View this message in context: http://lucene.472066.n3.nabble.com/Highlighting-phone-numbers-tp4277491p4277712.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Highlighting phone numbers

2016-05-18 Thread David Smiley
Perhaps an easy thing to try is see of the FastVectorHighlighter yields any different results. There are some nuances to the highlighters -- it might. Failing that, this likely due to your analysis chain, and where exactly the offsets point to, which you can see/debug in Solr's analysis screen.

Re: Highlighting large documents

2015-12-15 Thread Zheng Lin Edwin Yeo
Hi all, Thank you for all the information. I have set the parameter to -1, and the highlighting is working fine now. Regards, Edwin On 14 December 2015 at 18:03, Jens Brandt wrote: > Hi Edwin, > > you are limiting the portion of the document analyzed for highlighting in

Re: Highlighting large documents

2015-12-14 Thread Jens Brandt
Hi Edwin, you are limiting the portion of the document analyzed for highlighting in your solrconfig.xml by 100 Thus, snippets are only produced correctly if the query was found in the first 100 characters of the document. If you set this parameter to -1 the original highlighter

Re: Highlighting large documents

2015-12-08 Thread Scott Stults
There are two things going on that you should be aware of. The first is, Solr Highlighting is mainly concerned about putting a representative snippet in a results listing. There are a couple of configuration changes you need to do if you want to highlight a whole document, like setting the

Re: Highlighting tag problem

2015-12-07 Thread Scott Stults
I see. There appears to be a gap in what you can match on and what will get highlighted: id, title, content_type, last_modified, url, score id, title, content, author, tag Unless you override fl or hl.fl in url parameters you can get a hit in content_type, last_modified, url, or score and

Re: Highlighting tag problem

2015-12-07 Thread Zheng Lin Edwin Yeo
So the fields in the fl will affect the fields that will be highlighted? Isn't only those fields that are specified in hl.fl be highlighted? As I found some fields that are not specified in hl.fl also got highlighted, but since it is not specified in hl.fl, that field is not shown in the result

Re: Highlighting tag problem

2015-12-07 Thread Erick Erickson
bq: So the fields in the fl will affect the fields that will be highlighted? No. The pedantry was that one of the replies could be read as the fl specification affected what fields were _searched_. On Mon, Dec 7, 2015 at 2:43 PM, Zheng Lin Edwin Yeo wrote: > So the fields

Re: Highlighting tag problem

2015-12-07 Thread Erick Erickson
Pedantry here: bq: Unless you override fl or hl.fl in url parameters you can get a hit in content_type, last_modified, url, or score and those fields will not get highlighted. In the main correct, but the phrasing makes it seem like the fl parameter has something to do with the fields

Re: Highlighting large documents

2015-12-04 Thread Zheng Lin Edwin Yeo
Hi Andrea, I'm using the original highlighter. Below is my configuration for the highlighter in solrconfig.xml explicit 10 json true text id, title, content_type, last_modified, url, score on id, title, content, author

Re: Highlighting large documents

2015-12-04 Thread Andrea Gazzarini
Hi Zheng, just curiousity, because shortly I will have to deal with a similar scenario (Solr 5.3.1 + large documents + highlighting). Which highlighter are you using? Andrea 2015-12-04 16:51 GMT+01:00 Zheng Lin Edwin Yeo : > Hi, > > I'm using Solr 5.3.0 > > I found that in

Re: Highlighting large documents

2015-12-04 Thread Andrea Gazzarini
No no, sorry, the project is not yet started so I didn't experience your issue, but I'll be a careful listener of this thread Best, Andrea 2015-12-04 17:04 GMT+01:00 Zheng Lin Edwin Yeo : > Hi Andrea, > > I'm using the original highlighter. > > Below is my configuration

Re: Highlighting tag problem

2015-12-03 Thread Zheng Lin Edwin Yeo
Hi Scott, No, what's describe in SOLR-8334 is the tag appearing at the result, but at the wrong position. For this problem, the situation is that when I do a highlight query, some of the results in the resultset does not contain the search word in title, content_type, last_modified and url, as

Re: Highlighting tag problem

2015-12-03 Thread Scott Stults
Edwin, Is this related to what's described in SOLR-8334? k/r, Scott On Thu, Dec 3, 2015 at 5:07 AM, Zheng Lin Edwin Yeo wrote: > Hi, > > I'm using Solr 5.3.0. > Would like to find out, during a search, sometimes there is a match in > content, but it is not highlighted

Re: Highlighting content field problem when using JiebaTokenizerFactory

2015-11-23 Thread Zheng Lin Edwin Yeo
gt;> Thank you for providing the links and references. Will look through > > them, > > >> and let you know if I find any solutions or workaround. > > >> > > >> Regards, > > >> Edwin > > >> > > >> > > >&

Re: Highlighting content field problem when using JiebaTokenizerFactory

2015-11-23 Thread Scott Stults
gt;> > >>> > >>> Take a look at Michael's 2 articles, they might help you calrify the > >>> idea of highlighting in Solr: > >>> > >>> Changing Bits: Lucene's TokenStreams are actually graphs! > >>> > >>> > http

Re: Highlighting content field problem when using JiebaTokenizerFactory

2015-11-22 Thread Zheng Lin Edwin Yeo
ragraph In his another article: >>> >>> Changing Bits: A new Lucene highlighter is born >>> >>> http://blog.mikemccandless.com/2012/12/a-new-lucene-highlighter-is-born.html >>> >>> Currently, I can't figure out the possible cause of yo

Re: highlighting on child document

2015-11-08 Thread Mikhail Khludnev
On Thu, Nov 5, 2015 at 12:12 AM, Mikhail Khludnev < mkhlud...@griddynamics.com> wrote: > > Highlighter for block join hasn't been implemented. Here I'm wrong: https://issues.apache.org/jira/browse/LUCENE-5929 -- Sincerely yours Mikhail Khludnev Principal Engineer, Grid Dynamics

Re: highlighting on child document

2015-11-08 Thread Yangrui Guo
But how does highlighting work with block join query? Do I need to supply additional parameter? Yangrui On Sun, Nov 8, 2015 at 12:45 PM, Mikhail Khludnev < mkhlud...@griddynamics.com> wrote: > On Thu, Nov 5, 2015 at 12:12 AM, Mikhail Khludnev < > mkhlud...@griddynamics.com> wrote: > > > > >

Re: highlighting on child document

2015-11-05 Thread Yangrui Guo
So if child document highlighting doesn't work how can I let solr tell which child document and its field matched? On Wednesday, November 4, 2015, Mikhail Khludnev wrote: > Hello, > > Highlighter for block join hasn't been implemented. So, far you can call >

Re: highlighting on child document

2015-11-04 Thread Mikhail Khludnev
Hello, Highlighter for block join hasn't been implemented. So, far you can call highlighter with children query also passing fq={!child ..}parent-id:. On Wed, Nov 4, 2015 at 7:57 PM, Yangrui Guo wrote: > Hi > > I want to highlight matched terms on child documents because

Re: highlighting on child document

2015-11-04 Thread Alessandro Benedetti
My colleagues will correct me if i am wrong. Solr Join is actually not the same as Relational Join. This means that you can return in the result only one layer of entities ( the parent layer or the child layer ) even if your original search was on a different layer. You can search on children and

Re: Highlighting content field problem when using JiebaTokenizerFactory

2015-10-28 Thread Zheng Lin Edwin Yeo
not available these days (Got >> some projects to close)! >> >> If you find the solution or workaround, pls. let us know. Good luck again! >> >> Scott Chu,scott@udngroup.com >> 2015/10/27 >> >> - Original Message - >> *From: *Scott

Re: Highlighting content field problem when using JiebaTokenizerFactory

2015-10-27 Thread Zheng Lin Edwin Yeo
gt; some projects to close)! > > If you find the solution or workaround, pls. let us know. Good luck again! > > Scott Chu,scott@udngroup.com > 2015/10/27 > > - Original Message - > *From: *Scott Chu <scott@udngroup.com> > *To: *solr-user <solr-user@lucene.a

Re: Highlighting content field problem when using JiebaTokenizerFactory

2015-10-26 Thread Scott Chu
)! If you find the solution or workaround, pls. let us know. Good luck again! Scott Chu,scott@udngroup.com 2015/10/27 - Original Message - From: Scott Chu To: solr-user Date: 2015-10-27, 10:27:45 Subject: Re: Highlighting content field problem when using JiebaTokenizerFactory Hi

Re: Highlighting content field problem when using JiebaTokenizerFactory

2015-10-26 Thread Scott Chu
:32 Subject: Re: Highlighting content field problem when using JiebaTokenizerFactory Hi Scott, Thank you for your respond. 1. You said the problem only happens on "contents" field, so maybe there're something wrong with the contents of that field. Doe it contain any special thing in

Re: Highlighting content field problem when using JiebaTokenizerFactory

2015-10-22 Thread Scott Chu
Chu,scott@udngroup.com 2015/10/22 - Original Message - From: Zheng Lin Edwin Yeo To: solr-user Date: 2015-10-20, 12:04:11 Subject: Re: Highlighting content field problem when using JiebaTokenizerFactory Hi Scott, Here's my schema.xml for content and title, which uses text_chinese

Re: Highlighting content field problem when using JiebaTokenizerFactory

2015-10-22 Thread Scott Chu
ition info. for that field and when Solr do highlighting, it retrieves wrong position info. and mark wrong position of highlight target terms. Scott Chu,scott@udngroup.com 2015/10/23 - Original Message - From: Zheng Lin Edwin Yeo To: solr-user Date: 2015-10-22, 22:22:14 Subject: Re: Hi

Re: Highlighting content field problem when using JiebaTokenizerFactory

2015-10-22 Thread Zheng Lin Edwin Yeo
> > - Original Message - > *From: *Zheng Lin Edwin Yeo <edwinye...@gmail.com> > *To: *solr-user <solr-user@lucene.apache.org> > *Date: *2015-10-20, 12:04:11 > *Subject: *Re: Highlighting content field problem when using > JiebaTokenizerFactory >

Re: Highlighting content field problem when using JiebaTokenizerFactory

2015-10-22 Thread Zheng Lin Edwin Yeo
t > terms. > > Scott Chu,scott@udngroup.com > 2015/10/23 > > - Original Message - > *From: *Zheng Lin Edwin Yeo <edwinye...@gmail.com> > *To: *solr-user <solr-user@lucene.apache.org> > *Date: *2015-10-22, 22:22:14 > *Subject: *Re: Highlighting c

Re: Highlighting content field problem when using JiebaTokenizerFactory

2015-10-19 Thread Scott Stults
Edwin, Try setting hl.bs.language and hl.bs.country in your request or requestHandler: https://cwiki.apache.org/confluence/display/solr/FastVector+Highlighter#FastVectorHighlighter-UsingBoundaryScannerswiththeFastVectorHighlighter -Scott On Tue, Oct 13, 2015 at 5:04 AM, Zheng Lin Edwin Yeo

Re: Highlighting content field problem when using JiebaTokenizerFactory

2015-10-19 Thread Zheng Lin Edwin Yeo
Hi Scott, Here's my schema.xml for content and title, which uses text_chinese. The problem only occurs in content, and not in title. Here's my solrconfig.xml on the highlighting portion: explicit 10 json

Re: Highlighting content field problem when using JiebaTokenizerFactory

2015-10-19 Thread Zheng Lin Edwin Yeo
Hi Scott, Thank you for your reply. I've tried to set that and also tried changing to Fast Vector Highlighter, but it isn't working as well. I got the same highlighting results as previously. Regards, Edwin On 19 October 2015 at 23:56, Scott Stults wrote:

Re: Highlighting content field problem when using JiebaTokenizerFactory

2015-10-19 Thread Scott Chu
Hi Edwin, I didn't use Jieba on Chinese (I use only CJK, very foundamental, I know) so I didn't experience this problem. I'd suggest you post your schema.xml so we can see how you define your content field and the field type it uses? In the mean time, refer to these articles, maybe the

Re: Highlighting tag is not showing occasionally

2015-10-09 Thread Zheng Lin Edwin Yeo
I found that it could be due to the EdgeNGramFilterFactory. This issue didn't happen if I did not apply the EdgeNGramFilterFactory filter for my fieldType. But does anyone knows why using the EdgeNGramFilterFactory will cause this problem? Regards, Edwin On 7 October 2015 at 17:46, Zheng Lin

Re: highlighting

2015-10-02 Thread Upayavira
In the end, in most open source projects, people implement that which they need themselves, and offer it back to the community in the hope that it will help others too. If you need this, then I'd encourage you to look at the source highlighting component and see if you can see how it might be

Re: highlighting

2015-10-01 Thread Mark Fenbers
Yeah, I thought about using markers, but then I'd have to search the the text for the markers to determine the locations. This is a clunky way of getting the results I want, and it would save two steps if Solr merely had an option to return a start/length array (of what should be highlighted)

Re: highlighting

2015-10-01 Thread Koji Sekiguchi
Hi Mark, I think I saw similar requirement recently in mailing list. The feature sounds reasonable to me. > If not, how do I go about posting this as a feature request? JIRA can be used for the purpose, but there is no guarantee that the feature is implemented. :( Koji On 2015/10/01 20:07,

Re: highlighting

2015-10-01 Thread Teague James
Hi everyone! Pardon if it's not proper etiquette to chime in, but that feature would solve some issues I have with my app for the same reason. We are using markers now and it is very clunky - particularly with phrases and certain special characters. I would love to see this feature too Mark!

Re: highlighting

2015-09-29 Thread Upayavira
You can change the strings that are inserted into the text, and could place markers that you use to identify the start/end of highlighting elements. Does that work? Upayavira On Mon, Sep 28, 2015, at 09:55 PM, Mark Fenbers wrote: > Greetings! > > I have highlighting turned on in my Solr

Re: Highlighting, all matches show empty {}

2015-08-12 Thread Scott Derrick
-work/tei2html/build/web/./A10385B/A10385B.html: {}, /home/scott/workspace/mbel-work/tei2html/build/web/./A10879/A10879.html: {}, /home/scott/workspace/mbel-work/tei2html/build/web/./L3/L3.html: {} } Original Message Subject: Re: Highlighting From: Scott Derrick sc

Re: Highlighting, all matches show empty {}

2015-08-12 Thread Erick Erickson
: {} } Original Message Subject: Re: Highlighting From: Scott Derrick sc...@tnstaafl.net To: solr-user@lucene.apache.org Date: 08/12/2015 06:39 AM I was pretty sure I tried that, though I thought if you don't specify it just uses the search terms? If I just search for calvin

Re: Highlighting, all matches show empty {}

2015-08-12 Thread Scott Derrick
. But the results below clearly show 3 hits response:{numFound:3,start:0,docs:[ the problem is the hits are in _text_ Is there a problem with storing _text_ so I can get a highlight fragment when a hit is found there? Scott Original Message Subject: Re: Highlighting, all

  1   2   3   4   5   >