Re: Highlighting tag problem

2015-12-07 Thread Erick Erickson
> >> >> >> Regards, >> >> Edwin >> >> >> >> >> >> On 4 December 2015 at 01:03, Scott Stults < >> >> sstu...@opensourceconnections.com >> >> > wrote: >> >> >

Re: Highlighting tag problem

2015-12-07 Thread Erick Erickson
u, Dec 3, 2015 at 5:07 AM, Zheng Lin Edwin Yeo < >> edwinye...@gmail.com> >> > wrote: >> > >> > > Hi, >> > > >> > > I'm using Solr 5.3.0. >> > > Would like to find out, during a search, sometimes there is a match in >&g

Re: Highlighting large documents

2015-12-04 Thread Zheng Lin Edwin Yeo
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 <edwinye...@gmail.com>: > > > Hi, > > > > I'm using Solr 5.3.0 > >

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 <edwinye...@gmail.com>: > Hi, > > I'm using Solr 5.

Highlighting large documents

2015-12-04 Thread Zheng Lin Edwin Yeo
Hi, I'm using Solr 5.3.0 I found that in large documents, sometimes I face situation that when I do a highlight query, the resultset that is returned does not contain the highlighted query. There are actually matches in the documents, but just that they located further back in the documents. I

Re: Highlighting large documents

2015-12-04 Thread Andrea Gazzarini
<a.gazzar...@gmail.com> > wrote: > > > 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 > > > >

Re: Highlighting tag problem

2015-12-03 Thread Zheng Lin Edwin Yeo
there is a match in > > content, but it is not highlighted (the word is not in the stopword > list)? > > Did I make any mistakes in my configuration? > > > > This is my highlighting request handler from solrconfig.xml. > > > > > > > > e

Highlighting tag problem

2015-12-03 Thread Zheng Lin Edwin Yeo
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 (the word is not in the stopword list)? Did I make any mistakes in my configuration? This is my highlighting request handler from solrconfig.xml

Re: Highlighting tag problem

2015-12-03 Thread Scott Stults
it is not highlighted (the word is not in the stopword list)? > Did I make any mistakes in my configuration? > > This is my highlighting request handler from solrconfig.xml. > > > > explicit > 10 > json > true > tex

RE: Help With Phrase Highlighting

2015-12-03 Thread Teague James
Thanks everyone who replied! The FastVectorHighlighter did the trick. Here is how I configured it: In solrconfig.xml: In the requestHandler I added: on text true 100 In schema.xml: I modified the text field: I restarted Solr, re-indexed the documents and tested. All phrases are correctly

Help With Phrase Highlighting

2015-12-01 Thread Teague James
Hello everyone, I am having difficulty enabling phrase highlighting and am hoping someone here can offer some help. This is what I have currently: Solr 4.9 solrconfig.xml (partial snip) xml explicit 10

Re: Help With Phrase Highlighting

2015-12-01 Thread Philippe Soares
Hi, Did you try hl.mergeContiguous=true ? On Tue, Dec 1, 2015 at 3:36 PM, Teague James <teag...@insystechinc.com> wrote: > Hello everyone, > > I am having difficulty enabling phrase highlighting and am hoping someone > here can offer some help. This is what I have curre

Re: Help With Phrase Highlighting

2015-12-01 Thread Teague James
, > Did you try hl.mergeContiguous=true ? > > On Tue, Dec 1, 2015 at 3:36 PM, Teague James <teag...@insystechinc.com> > wrote: > >> Hello everyone, >> >> I am having difficulty enabling phrase highlighting and am hoping someone >> here can off

Re: Help With Phrase Highlighting

2015-12-01 Thread Koji Sekiguchi
th options termVectors=true, termPositions=true and termPositions=true. Good luck! Koji On 2015/12/02 5:36, Teague James wrote: Hello everyone, I am having difficulty enabling phrase highlighting and am hoping someone here can offer some help. This is what I have currently: Solr 4.9 solr

Re: Highlighting content field problem when using JiebaTokenizerFactory

2015-11-23 Thread Zheng Lin Edwin Yeo
or modification in the code under > > JiebaSegmenter.java, and the highlighting seems to be fine now. > > > > Basically, I created another int called offset2 under process() method. > > int offset2 = 0; > > > > Then I modified the offset to offset2 for this part of the c

Re: Highlighting content field problem when using JiebaTokenizerFactory

2015-11-23 Thread Scott Stults
com> wrote: > I've tried to do some minor modification in the code under > JiebaSegmenter.java, and the highlighting seems to be fine now. > > Basically, I created another int called offset2 under process() method. > int offset2 = 0; > > Then I modified the offset to offset

Re: Highlighting content field problem when using JiebaTokenizerFactory

2015-11-22 Thread Zheng Lin Edwin Yeo
I've tried to do some minor modification in the code under JiebaSegmenter.java, and the highlighting seems to be fine now. Basically, I created another int called offset2 under process() method. int offset2 = 0; Then I modified the offset to offset2 for this part of the code under process

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...@griddyna

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 <mkhlud...@griddynamics.com> wrote: > Hello, > > Highlighter for block join hasn't been implemented. So, f

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

highlighting on child document

2015-11-04 Thread Yangrui Guo
Hi I want to highlight matched terms on child documents because I need to determine which field matched the search terms. However when I use block join solr returned empty highlight fields. How can I use highlight with nested document? Or is there anyway to tell which field matched the query

Re: highlighting on child document

2015-11-04 Thread Alessandro Benedetti
and return all the parents ( and vice versa) but not returning both children and parents together. Because of this I believe could be a problem to highlight the content that was in the children. As nested faceting is becoming more complete I believe soon , also nested Highlighting could become

Re: Highlighting content field problem when using JiebaTokenizerFactory

2015-10-28 Thread Zheng Lin Edwin Yeo
references. Will look through them, > and let you know if I find any solutions or workaround. > > Regards, > Edwin > > > On 27 October 2015 at 11:13, Scott Chu <scott@udngroup.com> wrote: > >> >> Take a look at Michael's 2 articles, they might help y

Re: Highlighting content field problem when using JiebaTokenizerFactory

2015-10-27 Thread Zheng Lin Edwin Yeo
ght help you calrify the idea > of highlighting in Solr: > > Changing Bits: Lucene's TokenStreams are actually graphs! > > http://blog.mikemccandless.com/2012/04/lucenes-tokenstreams-are-actually.html > > Also take a look at 4th paragraph In his another article: > > Changing

Re: Highlighting content field problem when using JiebaTokenizerFactory

2015-10-26 Thread Scott Chu
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://blog.mikemccandless.com/2012/04/lucenes-tokenstreams-are-actually.html Also take a look at 4th paragraph In his another article

Re: Highlighting content field problem when using JiebaTokenizerFactory

2015-10-26 Thread Scott Chu
Hi Edward, Took a lot of time to see if there's anything can help you to define the cause of your problem. Maybe this might help you a bit: [SOLR-4722] Highlighter which generates a list of query term position(s) for each item in a list of documents, or returns null if highlighting

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

Highlighting queries in parentheses

2015-10-22 Thread Michał Słomkowski
in any way. I have a following highlighting query: text:((foo AND bar) OR eggs). Let's say the documents contains only bar and eggs. Currently both of them are highlighted. However the desired behaviour is to highlight eggs only since (foo AND bar) is not true. The query I send has following

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
esn't have your problem. So I see > this could be less suspect. > > The theory of your problem could be something in indexing process causes > wrong position info. for that field and when Solr do highlighting, it > retrieves wrong position info. and mark wrong position of highlight targe

Highlighting queries in parentheses

2015-10-22 Thread Michał Słomkowski
in any way. I have a following highlighting query: text:((foo AND bar) OR eggs). Let's say the documents contains only bar and eggs. Currently both of them are highlighted. However the desired behaviour is to highlight eggs only since (foo AND bar) is not true. The query I send has following

Re: Highlighting content field problem when using JiebaTokenizerFactory

2015-10-19 Thread Scott Stults
<edwinye...@gmail.com> wrote: > Hi, > > I'm trying to use the JiebaTokenizerFactory to index Chinese characters in > Solr. It works fine with the segmentation when I'm using > the Analysis function on the Solr Admin UI. > > However, when I tried to

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 <sstu...@opensourceconnections.com >

Re: Highlighting content field problem when using JiebaTokenizerFactory

2015-10-19 Thread Scott Chu
the answer or workaround can be deducted from them. https://issues.apache.org/jira/browse/SOLR-3390 http://qnalist.com/questions/661133/solr-is-highlighting-wrong-words http://qnalist.com/questions/667066/highlighting-marks-wrong-words Good luck! Scott Chu,scott@udngroup.com 2015/10/20

Highlighting content field problem when using JiebaTokenizerFactory

2015-10-13 Thread Zheng Lin Edwin Yeo
Hi, I'm trying to use the JiebaTokenizerFactory to index Chinese characters in Solr. It works fine with the segmentation when I'm using the Analysis function on the Solr Admin UI. However, when I tried to do the highlighting in Solr, it is not highlighting in the correct place. For example, when

Re: Highlighting tag is not showing occasionally

2015-10-09 Thread Zheng Lin Edwin Yeo
Edwin Yeo <edwinye...@gmail.com> wrote: > Hi, > > Has anyone face the problem of when using highlighting, sometimes there > are results which are returned, but there is no highlighting to the result > (ie: no tag). > > I found that there is a match in another field whic

Highlighting tag is not showing occasionally

2015-10-07 Thread Zheng Lin Edwin Yeo
Hi, Has anyone face the problem of when using highlighting, sometimes there are results which are returned, but there is no highlighting to the result (ie: no tag). I found that there is a match in another field which I did not include in my hl.fl parameters when I do fl=*, but that same word

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

Re: highlighting

2015-10-01 Thread Mark Fenbers
) in the original string rather than returning an altered string with tags inserted. Mark On 9/29/2015 7:04 AM, Upayavira wrote: 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

Re: highlighting

2015-10-01 Thread Koji Sekiguchi
hat should be highlighted) in the original string rather than returning an altered string with tags inserted. Mark On 9/29/2015 7:04 AM, Upayavira wrote: 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 eleme

Re: highlighting

2015-10-01 Thread Teague James
ould be highlighted) in >> the original string rather than returning an altered string with tags >> inserted. >> >> Mark >> >>> On 9/29/2015 7:04 AM, Upayavira wrote: >>> You can change the strings that are inserted into the text, and could >>> place

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 i

highlighting

2015-09-28 Thread Mark Fenbers
Greetings! I have highlighting turned on in my Solr searches, but what I get back is tags surrounding the found term. Since I use a SWT StyledText widget to display my search results, what I really want is the offset and length of each found term, so that I can highlight it in my own way

Re: Help storing + highlighting search results in PDF newspapers

2015-09-11 Thread Erick Erickson
populated is tricky since Tika has to deal with all the file formats which store meta-data in various ways, i.e. Word is completely unrelated to PDF which is unrelated to (pick your file format here). But we can deal with that after you get some basic highlighting done. And I tend to prefer to do my Tika

Help storing + highlighting search results in PDF newspapers

2015-09-11 Thread Colin 't Hart
appeared in the response instead of just the text -- but the "highlighting" section of the response was still virtually empty (just lists matching documents, but no highlighted text fragments). Can someone point me in the direction of a sample config that will work? 2. After that's work

Highlighting snippets truncated when matching large number of indexed documents

2015-09-02 Thread hsharma mailinglists
Hi there, I'm observing that the snippets being returned in the highlighting section of the response are getting truncated. However, this behavior is being seen only when the query matches a large number of documents and the results requested are near the end of the Solr-returned overall results

Solr having problems with highlighting when using Jieba anaylzer

2015-08-19 Thread Zheng Lin Edwin Yeo
Hi, I'm using Jieba analyser to index Chinese characters in the Solr. It works fine with the segmentation when using the Anaylsis on the Solr Admin UI. However, when I tried to do highlighting in Solr, it is not highlighting in the correct place. For example, when I search for 自然环境与企业本身

Re: Highlighting, all matches show empty {}

2015-08-12 Thread Scott Derrick
to The First Church of Christ, Scientist, Boston, Mass., June 15, 1902]}] }, highlighting:{ /home/scott/workspace/mbel-work/tei2html/build/web/L13943/L13943.html:{}, /home/scott/workspace/mbel-work/tei2html/build/web/L03453/L03453.html:{}, /home/scott/workspace/mbel-work/tei2html/build/web/A10145

Re: Highlighting, all matches show empty {}

2015-08-12 Thread Erick Erickson
Well, the example you just showed shouldn't show any highlighting. Your query is q=concord so it's trying to highlight concord which isn't in any of your documents. hl.q can be used to highlight something other than your q parameter. I did notice in some of your other examples that you seemed

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

Re: Highlighting, all matches show empty {}

2015-08-12 Thread Erick Erickson
of the highlighting away. You should probably see the FastVectorHighlighter though. If you don't use FVH, highlighting re-analyzes the raw text to produce the snippets which may be expensive for large text fields. Best, Erick On Wed, Aug 12, 2015 at 8:46 AM, Scott Derrick sc...@tnstaafl.net wrote

Re: Highlighting

2015-08-12 Thread Scott Derrick
field(s) to highlight. p.s. Erick Erickson surely likes your e-mail domain :) — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com http://www.lucidworks.com/ On Aug 11, 2015, at 9:02 PM, Scott Derrick sc...@tnstaafl.net wrote: I guess I really don't get Highlighting in Solr

Re: Highlighting

2015-08-12 Thread Scott Derrick
field(s) to highlight. p.s. Erick Erickson surely likes your e-mail domain :) — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com http://www.lucidworks.com/ On Aug 11, 2015, at 9:02 PM, Scott Derrick sc...@tnstaafl.net wrote: I guess I really don't get Highlighting in Solr

Highlighting, all matches show empty {}

2015-08-12 Thread Scott Derrick
is the highlight section listing the first 10 matches, still empty {} highlighting: { /home/scott/workspace/mbel-work/tei2html/build/web/./L02634/L02634.html: {}, /home/scott/workspace/mbel-work/tei2html/build/web/./A10720/A10720.html: {}, /home/scott/workspace/mbel-work/tei2html/build/web/./L07894

Re: Highlighting

2015-08-11 Thread Erik Hatcher
...@tnstaafl.net wrote: I guess I really don't get Highlighting in Solr. We are transitioning from Google Custom Search which generally sucks, but does return nicely formatted highlighted fragment. I turn highlighting on hl=true in the query and I get a highlighting section returned

Highlighting

2015-08-11 Thread Scott Derrick
I guess I really don't get Highlighting in Solr. We are transitioning from Google Custom Search which generally sucks, but does return nicely formatted highlighted fragment. I turn highlighting on hl=true in the query and I get a highlighting section returned at the bottom of the page, each

Re: Highlighting

2015-08-11 Thread Erick Erickson
:) — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com http://www.lucidworks.com/ On Aug 11, 2015, at 9:02 PM, Scott Derrick sc...@tnstaafl.net wrote: I guess I really don't get Highlighting in Solr. We are transitioning from Google Custom Search which generally sucks

Re: Solr 5.2.1 highlighting results are not available

2015-08-05 Thread Ahmet Arslan
5.2.1 and use dih example with tika integration to search for pdf content. Everything work as expected except highlighting plugin. When I execute the query I don't even see highlighting section in results: { responseHeader: { status: 0, QTime: 1, params: { indent: true, q

Re: Solr 5.2.1 highlighting results are not available

2015-08-05 Thread Michał Oleś
Thank you for answer. When I execute the query using q=Warszawadf=text_index instead of q=text_index:Warszawa nothing changed. If I remove wt=json from query I got response in xml but also without highlight results.

Re: Solr 5.2.1 highlighting results are not available

2015-08-05 Thread Ahmet Arslan
Hi, bq: I don't even see highlighting section in results I mean, it is possible that you are hitting a request/search handler that does not have highlighting component registered. This is possible when you explicitly register components (query, facet, highlighting etc). Lets first make sure

Re: Solr 5.2.1 highlighting results are not available

2015-08-05 Thread Michał Oleś
Hi, I checked and for me config looks alright but if you can take a look it will be great. Here is whole solrconfig.xml: http://pastebin.com/7YfVZA90 and here is full schema.xml: http://pastebin.com/LgeAvtFf and query result with enabled debug: http://pastebin.com/i74Wyep3

Re: Solr 5.2.1 highlighting results are not available

2015-08-05 Thread Ahmet Arslan
Hi, I couldn't find anything suspicious. It was allowed to highlight on an indexed=false field as long as a tokenizer defined on it: https://cwiki.apache.org/confluence/display/solr/Field+Properties+by+Use+Case May be that is changed. Can you try to highlight on a both indexed and stored

Solr 5.2.1 highlighting results are not available

2015-08-04 Thread Michał Oleś
I installed solr 5.2.1 and use dih example with tika integration to search for pdf content. Everything work as expected except highlighting plugin. When I execute the query I don't even see highlighting section in results: { responseHeader: { status: 0, QTime: 1, params

Problem with Highlighting results

2015-07-29 Thread Zheng Lin Edwin Yeo
Hi, I'm using Solr 5.2.1, and sometimes, the highlighting return with results, but there is no correct match in all the fields that are listed in hl.fl, and there is also no em tag on the results at all. What could be the reason that this is happening? I've include my highlighting request

Re: Highlighting pre and post tags not working

2015-07-13 Thread Upayavira
You need to xml encode the tags. So instead of em, put lt;emgt; and instead of /em put lt;/emgt; Upayavira On Mon, Jul 13, 2015, at 05:19 PM, Paden wrote: Hello, I'm trying to get some Solr highlighting going but I've run into a small problem. When I set the pre and post tags with my own

Re: Highlighting pre and post tags not working

2015-07-13 Thread Erick Erickson
Try str name=hl.simple.prelt;emgt;/str or str name=hl.simple.pre![CDATA[em]]/str The bare and confuse the XML parsing. Best Erick On Mon, Jul 13, 2015 at 9:19 AM, Paden rumsey...@gmail.com wrote: Hello, I'm trying to get some Solr highlighting going but I've run into a small problem. When

Re: Highlighting pre and post tags not working

2015-07-13 Thread Erik Hatcher
Within XML, angle brackets must be escaped as lt; and gt; On Jul 13, 2015, at 12:19 PM, Paden rumsey...@gmail.com wrote: Hello, I'm trying to get some Solr highlighting going but I've run into a small problem. When I set the pre and post tags with my own custom tag I get an XML error

Highlighting pre and post tags not working

2015-07-13 Thread Paden
Hello, I'm trying to get some Solr highlighting going but I've run into a small problem. When I set the pre and post tags with my own custom tag I get an XML error XML Parsing Error: mismatched tag. Expected: /em. Location: file:///home/paden/Downloads/solr-5.1.0/server/solr/Testcore2/conf

RE: Problem with distributed search using grouping and highlighting

2015-07-09 Thread Cario, Elaine
Rich, I've run into various problems with group.query and highlighting. You noted one below (SOLR-5046), and there is also SOLR-6712, which might be related to what you are experiencing. Still waiting for that patch to be reviewed... -Original Message- From: Rich Hume [mailto:rh

boolean for if highlighting snippet contains complete original value or is truncated

2015-07-07 Thread Philip Durbin
I've been playing around with highlighting snippets and there are times when I'd like to know if the snippet returned contains the entire value of the original field or if the snippet is a truncated version of the original field. For example, when I search for xms below I can tell

Re: issue with highlighting in solr 4.10.2

2015-06-29 Thread Dmitry Kan
the snippet size you've specified? Shot in the dark, Erick On Fri, Jun 26, 2015 at 3:22 AM, Dmitry Kan solrexp...@gmail.com wrote: Hi, When highlighting hits for the following query: (+Contents:apple +Contents:watch) Contents:iphone I expect the standard solr highlighter

Re: issue with highlighting in solr 4.10.2

2015-06-27 Thread Erick Erickson
Does watch exist in the Contents field somewhere outside the snippet size you've specified? Shot in the dark, Erick On Fri, Jun 26, 2015 at 3:22 AM, Dmitry Kan solrexp...@gmail.com wrote: Hi, When highlighting hits for the following query: (+Contents:apple +Contents:watch) Contents:iphone

issue with highlighting in solr 4.10.2

2015-06-26 Thread Dmitry Kan
Hi, When highlighting hits for the following query: (+Contents:apple +Contents:watch) Contents:iphone I expect the standard solr highlighter to highlight either iphone or iphone AND apple, only if watch is present. However, solr highlights iphone along with only apple. Is this a bug or a known

Inconsistent Solr highlighting

2015-06-15 Thread Becker Moritz
to use Solr highlighting. My problem is now, that the highlighting seems to work inconsistently which is a problem in my use case. The field configuration for e.g. my dynamic field '*_en' field is as follows: dynamicField name=*_en type=text_enindexed=true stored=true multiValued=false

Re: Show all fields in Solr highlighting output

2015-06-11 Thread Ahmet Arslan
Hi Edwin, I think Highlighting Behaviour of those types shifts over time. May be we should do the reverse. Move snippets to main response: https://issues.apache.org/jira/browse/SOLR-3479 Ahmet On Thursday, June 11, 2015 11:23 AM, Zheng Lin Edwin Yeo edwinye...@gmail.com wrote: Hi Ahmet

Re: DocTransformers for restructuring output, e.g. Highlighting

2015-06-11 Thread Upayavira
the response, DocTransformers would be able to do output restructuring. The best example is hit highlighting. If you did: hl=onhl.fl=namefl=*,[highlight:name] you would no longer need to seek the highlighted strings in another part of the output. The conceptual downside of this approach

Re: DocTransformers for restructuring output, e.g. Highlighting

2015-06-11 Thread Ahmet Arslan
highlighting. If you did: hl=onhl.fl=namefl=*,[highlight:name] you would no longer need to seek the highlighted strings in another part of the output. The conceptual downside of this approach is that we might expect the highlighting to be done inside the DocTransfomer not a search component, i.e

RE: Show all fields in Solr highlighting output

2015-06-11 Thread Reitzel, Charles
. Specifically, the insertion of markup into the text changes values that affect sorting and matching. Thus the wisdom of the current design that returns highlighting results separately. Of course, it is very simple to merge the highlighting results into the returned documents. The highlighting

Re: Show all fields in Solr highlighting output

2015-06-11 Thread Ahmet Arslan
Hi Edwin, hl.alternateField is probably what you are looking for. ahmet On Thursday, June 11, 2015 5:38 AM, Zheng Lin Edwin Yeo edwinye...@gmail.com wrote: Hi, Is it possible to list all the fields in the highlighting portion in the output? Currently,even when I str name=hl.fl*/str

Re: Show all fields in Solr highlighting output

2015-06-11 Thread Zheng Lin Edwin Yeo
that returns highlighting results separately. Of course, it is very simple to merge the highlighting results into the returned documents. The highlighting results have been thoughtfully arranged as a lookup table using the unique ID field as the key. In SolrJ, this is a Map. Thus, you can loop over

Re: Show all fields in Solr highlighting output

2015-06-11 Thread Zheng Lin Edwin Yeo
, hl.alternateField is probably what you are looking for. ahmet On Thursday, June 11, 2015 5:38 AM, Zheng Lin Edwin Yeo edwinye...@gmail.com wrote: Hi, Is it possible to list all the fields in the highlighting portion in the output? Currently,even when I str name=hl.fl*/str, it only shows

Show all fields in Solr highlighting output

2015-06-10 Thread Zheng Lin Edwin Yeo
Hi, Is it possible to list all the fields in the highlighting portion in the output? Currently,even when I str name=hl.fl*/str, it only shows fields where highlighting is possible, and fields which highlighting is not possible is not shown. I would like to have the output where all the fields

Problem with distributed search using grouping and highlighting

2015-06-08 Thread Rich Hume
I am currently using Solr 4.5.1. In the hopes of seeing better query performance, I have sharded an index and I am trying to use the shards parameter along with grouping and highlighting. I am not currently using Solr cloud. I got past an earlier problem by adding a second sort parameter

Re: Upgraded to 4.10.3, highlighting performance unusably slow

2015-05-11 Thread William Bell
.) -Michael -Original Message- From: Cheng, Sophia Kuen [mailto:sophia_ch...@hms.harvard.edu] Sent: Saturday, May 02, 2015 4:13 PM To: solr-user@lucene.apache.org Subject: Upgraded to 4.10.3, highlighting performance unusably slow Hello, We recently upgraded solr from

Re: Slow highlighting on Solr 5.0.0

2015-05-11 Thread Ere Maijala
Thanks for the pointers. Using hl.usePhraseHighlighter=false does indeed make it a lot faster. Obviously it's not really a solution, though, since in 4.10 it wasn't a problem and turning it off has consequences. I'm looking forward for the improvements in the next releases. --Ere 8.5.2015,

Re: Slow highlighting on Solr 5.0.0

2015-05-08 Thread Matt Hilt
I¹ve been looking into this again. The phrase highlighter is much slower than the default highlighter, so you might be able to add hl.usePhraseHighlighter=false to your query to make it faster. Note that web interface will NOT help here, because that param is true by default, and the checkbox is

Re: Slow highlighting on Solr 5.0.0

2015-05-05 Thread Ere Maijala
I'm seeing the same with Solr 5.1.0 after upgrading from 4.10.2. Here are my timings: 4.10.2: process: 1432.0 highlight: 723.0 5.1.0: process: 9570.0 highlight: 8790.0 schema.xml and solrconfig.xml are available at https://github.com/NatLibFi/NDL-VuFind-Solr/tree/master/vufind/biblio/conf.

Re: Upgraded to 4.10.3, highlighting performance unusably slow

2015-05-03 Thread jaime spicciati
@lucene.apache.org Subject: Upgraded to 4.10.3, highlighting performance unusably slow Hello, We recently upgraded solr from 3.8.0 to 4.10.3. We saw that this upgrade caused a incredible slowdown in our searches. We were able to narrow it down to the highlighting. The slowdown is extreme

Upgraded to 4.10.3, highlighting performance unusably slow

2015-05-02 Thread Cheng, Sophia Kuen
Hello, We recently upgraded solr from 3.8.0 to 4.10.3. We saw that this upgrade caused a incredible slowdown in our searches. We were able to narrow it down to the highlighting. The slowdown is extreme enough that we are holding back our release until we can resolve this. Our research

RE: Upgraded to 4.10.3, highlighting performance unusably slow

2015-05-02 Thread Ryan, Michael F. (LNG-DAY)
or vmstat command in Linux.) -Michael -Original Message- From: Cheng, Sophia Kuen [mailto:sophia_ch...@hms.harvard.edu] Sent: Saturday, May 02, 2015 4:13 PM To: solr-user@lucene.apache.org Subject: Upgraded to 4.10.3, highlighting performance unusably slow Hello, We recently upgraded solr

Re: Upgraded to 4.10.3, highlighting performance unusably slow

2015-05-02 Thread Joel Bernstein
-Original Message- From: Cheng, Sophia Kuen [mailto:sophia_ch...@hms.harvard.edu] Sent: Saturday, May 02, 2015 4:13 PM To: solr-user@lucene.apache.org Subject: Upgraded to 4.10.3, highlighting performance unusably slow Hello, We recently upgraded solr from 3.8.0 to 4.10.3. We saw

Solr Highlighting

2015-04-28 Thread Vijaya Narayana Reddy Bhoomi Reddy
Hi, When I perform a query, the matching document related field information is displayed separate from the highlighting information. Is there a way to merge these two so that highlighting for each document appears within the document level information itself. That way, it would be easier to find

Re: Highlighting in Solr

2015-04-26 Thread Zheng Lin Edwin Yeo
I supposed currently the only way to show the highlighting snippets in xml and json output is via a separate section at the bottom, and it is currently not possible to show the highlighted snippets together with the rest of the response? Regards, Edwin On 22 April 2015 at 21:57, Zheng Lin Edwin

Highlighting in Solr

2015-04-22 Thread Zheng Lin Edwin Yeo
Hi, I'm currently implementing highlighting on my Solr-5.0.0. When I issue the following command: http://localhost:8983/solr/collection1/select?q=conducted http://localhost:8983/solr/edmtechnical/select?q=conducted hl=truehl.fl=Content,Summarywt=jsonindent=truerows=10, the highlighting result

Highlighting

2015-04-17 Thread Misagh Karimi
Hello All, I am new to solr and trying to configure highlighting. If I look at the result in xml, or json format, I can see the highlighting part of the data and it looks good. However the velocity page does not show the highlighted words on my result page. Do I need to do something extra

Re: Retrieving list of words for highlighting

2015-03-27 Thread simon
There's a JIRA ( https://issues.apache.org/jira/browse/SOLR-4722 ) describing a highlighter which returns term positions rather than snippets, which could then be mapped to the matching words in the indexed document (assuming that it's stored or that you have a copy elsewhere). -Simon On Wed,

Retrieving list of words for highlighting

2015-03-25 Thread Damien Dykman
In Solr 5 (or 4), is there an easy way to retrieve the list of words to highlight? Use case: allow an external application to highlight the matching words of a matching document, rather than using the highlighted snippets returned by Solr. Thanks, Damien

<    1   2   3   4   5   6   7   8   9   10   >