Re: Faster Vector Highlight

2020-06-08 Thread Kayak28
Hello, Yasufumi-san and Solr Community: Thank you for your suggestion. When I added the parameter hl.maxAnalyzedChars=-1, I could highlight for long text. Sincerely, Kaya Ota 2020年6月6日(土) 20:39 Yasufumi Mizoguchi : > Hi, Kaya. > > How about using hl.maxAnalyzedChars parameter ? &

Re: Faster Vector Highlight

2020-06-06 Thread Yasufumi Mizoguchi
Hi, Kaya. How about using hl.maxAnalyzedChars parameter ? Thanks, Yasufumi > 2020/06/06 午後5:56、Kayak28 のメール: > > Hello, Solr Community: > > I have a question about FasterVectorHighlight. > I know Solr highlight does not return highlighted text if the text in the > hig

Faster Vector Highlight

2020-06-06 Thread Kayak28
Hello, Solr Community: I have a question about FasterVectorHighlight. I know Solr highlight does not return highlighted text if the text in the highlighted field is too long. What is the good way to treat long text highlights? -- Sincerely, Kaya github: https://github.com/28kayak

highlight if the field and hl.fl has different analysis

2020-04-04 Thread Szűcs Roland
he second term is not highlighted. I need help on two issues: 1. Why did it work even partially if the analysis of the query field and the highlight fields are different? 2. If it is able to handle the different analysis what can I do to support the multi field highlighting? Thanks, Roland

Re: subquery highlight

2019-11-11 Thread Vasily Ogar
x27;t know what else > > > > > > On Mon, Nov 11, 2019 at 8:25 AM Mikhail Khludnev > wrote: > > > > > Hello, > > > Have you tried to pefix hl.* params with particular subquery name? > > > > > > On Sun, Nov 10, 2019 at 11:46 PM Vasily Oga

Re: subquery highlight

2019-11-10 Thread Mikhail Khludnev
you tried to pefix hl.* params with particular subquery name? > > > > On Sun, Nov 10, 2019 at 11:46 PM Vasily Ogar > > wrote: > > > > > Hello, > > > I am using Solr 8.2 and can't find out how to use highlight in the > > > subquery. Is it possib

Re: subquery highlight

2019-11-10 Thread Vasily Ogar
else On Mon, Nov 11, 2019 at 8:25 AM Mikhail Khludnev wrote: > Hello, > Have you tried to pefix hl.* params with particular subquery name? > > On Sun, Nov 10, 2019 at 11:46 PM Vasily Ogar > wrote: > > > Hello, > > I am using Solr 8.2 and can't find out how to

Re: subquery highlight

2019-11-10 Thread Mikhail Khludnev
Hello, Have you tried to pefix hl.* params with particular subquery name? On Sun, Nov 10, 2019 at 11:46 PM Vasily Ogar wrote: > Hello, > I am using Solr 8.2 and can't find out how to use highlight in the > subquery. Is it possible at all? > Thank you > -- Sincerely yours Mikhail Khludnev

subquery highlight

2019-11-10 Thread Vasily Ogar
Hello, I am using Solr 8.2 and can't find out how to use highlight in the subquery. Is it possible at all? Thank you

Suggest highlight is not working with context filter query

2019-06-06 Thread Ritesh Kumar
Hello Team, I am not able to get highlighted terms from the Suggest component when using a context filter query. My definition of the suggest search component looks as follows. mySuggester BlendedInfixLookupFactory position_linear DocumentDictionaryFactory fiel

Highlight documents using group.query?

2018-10-18 Thread atawfik
Hi, if I am using a group.query to get documents, is there a way to highlight the documents matching group.query using the matching query itself? If I am not mistaken currently solr will highlight documents using the main query pass via the request q parameter? -- Sent from: http://lucene

Re: matches missing highlight information

2018-10-07 Thread Zheng Lin Edwin Yeo
:43, Kudrettin Güleryüz wrote: > query "g12312" matches 7 documents. Fields requested are returned for all 7 > documents that matches the query mentioned. For three of the matching > documents highlight snippet is not generated. Can you explain why > highlighting snippets co

Re: matches missing highlight information

2018-10-01 Thread Kudrettin Güleryüz
query "g12312" matches 7 documents. Fields requested are returned for all 7 documents that matches the query mentioned. For three of the matching documents highlight snippet is not generated. Can you explain why highlighting snippets could be absent for some of the documents? &q

Re: matches missing highlight information

2018-09-30 Thread Zheng Lin Edwin Yeo
=bodync:g12312 > > Kudret > > > On Fri, Sep 28, 2018 at 2:09 AM Zheng Lin Edwin Yeo > wrote: > > > Hi Kudret, > > > > What is your configuration for your /highlight requestHandler in > > solrconfig.xml? > > And also the query that you used when yo

Re: matches missing highlight information

2018-09-28 Thread Kudrettin Güleryüz
:09 AM Zheng Lin Edwin Yeo wrote: > Hi Kudret, > > What is your configuration for your /highlight requestHandler in > solrconfig.xml? > And also the query that you used when you get your above output? > > Regards, > Edwin > > On Fri, 28 Sep 2018 at 07:33, Kudrettin

Re: matches missing highlight information

2018-09-27 Thread Zheng Lin Edwin Yeo
Hi Kudret, What is your configuration for your /highlight requestHandler in solrconfig.xml? And also the query that you used when you get your above output? Regards, Edwin On Fri, 28 Sep 2018 at 07:33, Kudrettin Güleryüz wrote: > Hi, > > For some queries, response object return

matches missing highlight information

2018-09-27 Thread Kudrettin Güleryüz
Hi, For some queries, response object returns matches without any highlight information. Solr node doesn't report any errors in Solr log. query term is g12312 number of matches is 7 only 4 of them gets highlight snippets. Any suggestions? "highlighting":{ "

Re: Solr empty highlight entry on match?

2018-09-26 Thread Yasufumi Mizoguchi
Hi, The documents might be too long to highlight, I think. See "hl.maxAnalyzedChars" in reference guide. https://lucene.apache.org/solr/guide/7_4/highlighting.html Try to increase hl.maxAnalyzedChars value or to use hl.alternateField, hl.maxAlternateFieldLength to create snippets ev

Solr empty highlight entry on match?

2018-09-25 Thread Zartmann, Matthias
Hi i'm new in solr and have a problem with the highlighter. The highlighter returns not for every match a highlight text, it works in most cases but not in all (see example,the second entry). Can anybody help me? Solr Version: 7.4.0 Query: http://localhost:8983/solr/mpdv/select?

about the value of key "hl"(highlight) ,in solr 7.4

2018-08-13 Thread 魏北南
Hello, I thinkthe value of the key "hl"(highlight)is incorrect ,,in solr 7.4; when I do some operations in UI,for example, query some key words and expect high light;and then I do, but I found some strange info from the

Re: SolrQuery Highlight Problem - Not working for text

2018-08-07 Thread THADC
Thanks Erick, that indeed was the problem. All good now! -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: SolrQuery Highlight Problem - Not working for text

2018-08-02 Thread Erick Erickson
d from solr 4.7 to solr 7.3. One of the things we had > to change for this was the value of text_general type in schema.xml going > from "text" to "_text_". Most everywhere things are working fine, except > that highlight info is no showing up in our search results p

SolrQuery Highlight Problem - Not working for text

2018-08-02 Thread THADC
Hi, we recently upgraded from solr 4.7 to solr 7.3. One of the things we had to change for this was the value of text_general type in schema.xml going from "text" to "_text_". Most everywhere things are working fine, except that highlight info is no showing up in our searc

How to only highlight terms that caused the document to match

2018-07-04 Thread Bjarke Buur Mortensen
Hi list, I'm having difficulties getting the solr highlighter to highlight only the terms that actually caused the match. Let med explain: Given a query "john OR (peter AND mary)" and two documents: "john is awesome and so is peter" "peter is awesome and so is mary

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

highlight separator

2017-11-22 Thread David Hastings
Im on solr 5.x at the moment, and am trying to get the highlighter to display complete sentences containing the match. setting: 'hl.method' => 'fastVector', 'hl.bs.type' =>'SENTENCE', hasnt been proving to work. is there a way for me to do it in the query itself? thanks -Dave

Highlight only when all tokens are matched

2017-10-27 Thread anesul
I have a field called ADDR for which I am using StandardTokenizerFactory. If some of the tokens are matched then highlighting is showing field ADDR. But my requirement is if all the tokens are matched then only highlighting will come. Why I am using tokenizer, because user may give ADDR in any ord

RE: Solr 5.4.0: Colored Highlight and multi-value field ?

2017-10-06 Thread Bruno Mannina
;indent=true &sort=pd+desc &fl=* // HighLight &hl=true &hl.fl=ti,ab,ic,inc,cpc,apc &hl.simple.pre= &hl.simple.post= &hl.fragmentsBuilder=colored &hl.useFastVectorHighlighter=true &hl.highlightMultiTerm=true &hl.usePhraseHighlighter=true &hl.fragsize=999 &a

Re: Solr 5.4.0: Colored Highlight and multi-value field ?

2017-10-04 Thread Erick Erickson
How does it not work for you? Details matter, an example set of values and the response from Solr are good bits of info for us to have. On Tue, Oct 3, 2017 at 3:59 PM, Bruno Mannina wrote: > Dear all, > > > > Is it possible to have a colored highlight in a multi-value fiel

Solr 5.4.0: Colored Highlight and multi-value field ?

2017-10-03 Thread Bruno Mannina
Dear all, Is it possible to have a colored highlight in a multi-value field ? I’m succeed to do it on a textfield but not in a multi-value field, then SOLR takes hl.simple.pre / hl.simple.post as tag. Thanks a lot for your help, Cordialement, Best Regards Bruno Mannina <h

RE: FastVector does not highlight for phrase query when it contains stop word/s

2017-08-21 Thread Jagdish Vasani
, 2017 3:05 AM To: solr-user@lucene.apache.org Subject: Re: FastVector does not highlight for phrase query when it contains stop word/s Recent discussions have recommended that you not use stop words in any case. Cheers -- Rick On August 21, 2017 11:47:11 AM EDT, Jagdish Vasani wrote: >

Re: FastVector does not highlight for phrase query when it contains stop word/s

2017-08-21 Thread Rick Leir
Recent discussions have recommended that you not use stop words in any case. Cheers -- Rick On August 21, 2017 11:47:11 AM EDT, Jagdish Vasani wrote: >Hi Solr Users, > >I come across issue that fast Vector highlighter does not highlight >field values when search for phrase query c

Re: FastVector does not highlight for phrase query when it contains stop word/s

2017-08-21 Thread Leonardo Perez Pulido
Hi, Do you analyze your text with StopFilterFactory, in your field type? Regards. On Mon, Aug 21, 2017 at 11:47 AM, Jagdish Vasani < jagdish.vas...@thedigitalgroup.com> wrote: > Hi Solr Users, > > I come across issue that fast Vector highlighter does not highlight field > valu

FastVector does not highlight for phrase query when it contains stop word/s

2017-08-21 Thread Jagdish Vasani
Hi Solr Users, I come across issue that fast Vector highlighter does not highlight field values when search for phrase query contains stop word. For example , Query is "blue is the sky" , it will return result but highlighting will not available for this field. I ha

phrase highlight, exact phrases only?

2017-07-25 Thread Michael Joyner
Hello, We are using highlighting and are looking for the exact phrase "HIV Prevention" but are receiving back highlighted snippets like the following where non-phrase matching portions are being highlighted, is there a setting to highlight the entire phrase instead of any part

Re: Empty Highlight Problem - Solr 6.3.0

2016-12-24 Thread Ahmet Arslan
Hi, Did you try increasing hl.maxAnalyzedChars ? Ahmet On Friday, December 23, 2016 10:47 PM, Furkan KAMACI wrote: Hi All, I'm trying highlighter component at Solr 6.3. I have a problem when I index PDF files. I know that given keyword exists at result document (it is returned as result bec

Empty Highlight Problem - Solr 6.3.0

2016-12-23 Thread Furkan KAMACI
Hi All, I'm trying highlighter component at Solr 6.3. I have a problem when I index PDF files. I know that given keyword exists at result document (it is returned as result because of a hit at document as well), highlighting field is empty at response. I'm suspicious about it happens documents wh

Map Highlight Field into Another Field

2016-12-12 Thread Furkan KAMACI
Hi, One can use * at highlight fields. As like: content_* So, content_de and content_en can match to it. However response will include such fields: "highlighting":{ "my query":{ "content_de": "content_en": ... Is it possible to map

Highlight is Empty for A Matched Query

2016-11-27 Thread Furkan KAMACI
My content has that line: \n \n\n Intelligent En When I search for *intelligent *it returns 1 response as well. My content field is defined as: Highlighter is default too. I just make *highlight=on* and *hl.field=content *However my response does not have any highlights. When I

Re: Highlight partial match

2016-10-11 Thread Juan Fernando Mora
indexed text. > Every term resolves to the original source text of "computer". > > I believe these start/end values in the index are how highlighting > decides *what* to highlight, though I admit I could have a flawed > understanding of how it works. If my understanding is

Re: Highlight partial match

2016-10-11 Thread Shawn Heisey
s to the original source text of "computer". I believe these start/end values in the index are how highlighting decides *what* to highlight, though I admit I could have a flawed understanding of how it works. If my understanding is correct, then obtaining what you want would involve an alte

Highlight partial match

2016-10-10 Thread Juan Fernando Mora
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:* *http://localhost:8983/solr/pcsearch/select?indent=on&q=co

Re: migration to solr 5.5.2 highlight on ngrams not working

2016-09-22 Thread elisabeth benoit
ing it for an autocomplete component. With Solr 4.10.1, if request > is sol, highlighting on solr is sol<\em>r > > with solr 5.5.2, we have solr<\em>. > > Same problem as described in http://grokbase.com/t/ > lucene/solr-user/154m4jzv2f/solr-5-hit-highlight-with- &

migration to solr 5.5.2 highlight on ngrams not working

2016-09-22 Thread elisabeth benoit
t;. Same problem as described in http://grokbase.com/t/lucene/solr-user/154m4jzv2f/solr-5-hit-highlight-with-ngram-edgengram-fields but nobody answered the post. Does anyone know we can fix this? Best regards, Elisabeth Field definition

Re: Help for -- Filter in the text field + highlight + no affect on boosting(if done with q instead of fq)

2016-08-10 Thread Emir Arnautovic
us_ix%3A1&fq=%7B%21tag%3Dlab_ix%7Dlabel_ix%3A2&fq=siteId_ix%3A0&fq=subjectReferenceId_lx%3A1040409165+AND+subjectType_sx%3AP&wt=json&indent=true&fl=id&debugQuery=true> OR I can search/filter with fq parameter but I need to highlight words which are filtered by fq. Just

Help for -- Filter in the text field + highlight + no affect on boosting(if done with q instead of fq)

2016-08-09 Thread Raleraskar, Mayur
facet.field=%7B%21ex%3Dlab_ix%2Clocale_sx%7Drating_ix&facet.field=%7B%21ex%3Dlab_ix%7Dlabel_ix&facet.sort=count&facet.mincount=0&facet.limit=100&facet.offset=0&fq=status_ix%3A1&fq=%7B%21tag%3Dlab_ix%7Dlabel_ix%3A2&fq=siteId_ix%3A0&fq=subjectReferenceId_lx%3A1040409165+

RE: How to create highlight search component using Config API

2016-07-15 Thread Alexandre Drouin
Hi, Thanks for info, however I got an error when adding the field using curl (sorry for the long lines): Command I used: curl -k -u user:password https://solr:8443/solr/q/config -H 'Content-type:application/json' -d '{ "add-searchcomponent": { "highl

Re: How to create highlight search component using Config API

2016-07-08 Thread Cassandra Targett
honest, but I worked out something that works: {"add-searchcomponent": {"highlight": {"name":"myHighlight", "class":"solr.HighlightComponent","": {"gap": {"default":"true", "name": "gap&

How to create highlight search component using Config API

2016-06-29 Thread Alexandre Drouin
Hi, I'm trying to create a highlight search component using the Config API of Solr 6.0.1 however I cannot figure out how to include the elements fragmenter, formatter, encoder, etc... Let's say I have the following component:

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

highlight don't work if df not specified

2016-05-22 Thread michael solomon
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 when I fill hl.fl. it work when I fill df(default field) parameter, but then it's highlights only one field. What the problem? Thanks, michael

Re: the highlight does not work when query without specified field

2016-05-06 Thread Erick Erickson
all, > > > i want query without specified field(like q=java), so i use the 'copyfield' > tag to copy my custom field to the 'text' field, this works fine, but issue > one problem: the field of returned doc which contain the query keyword does > not highlight. I

the highlight does not work when query without specified field

2016-05-06 Thread ????????
hi all, i want query without specified field(like q=java), so i use the 'copyfield' tag to copy my custom field to the 'text' field, this works fine, but issue one problem: the field of returned doc which contain the query keyword does not highlight. I guess this is becau

Re: return and highlight the most relevant child with BlockJoinQuery

2016-03-15 Thread michael solomon
x27;t comment, I only saw that there is some > highlighting case for {!parent} queries. Sorry. > > On Mon, Mar 14, 2016 at 6:13 PM, michael solomon > wrote: > > > Hi, > > how can I *highlight* and *return* the most relevant child with > > BlockJoinQuery. > > for

Re: return and highlight the most relevant child with BlockJoinQuery

2016-03-14 Thread Mikhail Khludnev
on, Mar 14, 2016 at 6:13 PM, michael solomon wrote: > Hi, > how can I *highlight* and *return* the most relevant child with > BlockJoinQuery. > for this: > > > {!parent which="is_parent:*" score=max}(title:(terms) > > > I expect to get: > > . > . &g

return and highlight the most relevant child with BlockJoinQuery

2016-03-14 Thread michael solomon
Hi, how can I *highlight* and *return* the most relevant child with BlockJoinQuery. for this: > {!parent which="is_parent:*" score=max}(title:(terms) I expect to get: . . . docs:[ { doc parent _childDocuments_:{the most relevant child} } { doc parent2 _childDocumen

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 highlight

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=

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

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

2016-02-16 Thread Binoy Dalal
; > > > > > > > is there any alternative approach ? Thanks in advance. > > > > > > > > > > > > > > > > > > > > > > > > On 15 February 2016 at 17:27, Binoy Dalal < > binoydala...@gmail.com> &g

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

2016-02-15 Thread Anil
> >> 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 lis

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. > &g

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

2016-02-15 Thread Anil
lighted 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: > > >> > >

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

2016-02-15 Thread Binoy Dalal
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 ? as it is > >> available > >>

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

2016-02-15 Thread Anil
t 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 ? as it is >> available >> > in the highlight section. >> > >> > In my scena

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

2016-02-15 Thread Anil
ed 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 > > highlig

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

2016-02-15 Thread Binoy Dalal
ult ? 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. > > Please advice. > &

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

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

2016-02-15 Thread Evert R.
b 14, 2016 at 8:28 PM, Binoy Dalal > wrote: > > > 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 y

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

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

2016-02-14 Thread Mark Ehle
use it was never put there in the first place.Something about setMaxStringLength orsomething. On Sun, Feb 14, 2016 at 8:28 PM, Binoy Dalal wrote: > What you've done so far will highlight every instance of "nietava" found in > the field, and return it, i.e., your entire

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

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, sho

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

2016-02-14 Thread Binoy Dalal
00 > > > > > > 0.5 > > > > > > [-\w > > > ,/\n\"']{20,200} > > > > > > > > > > > > > > > > > > thanks! > > > > > > &g

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

2016-02-14 Thread Evert R.
']{20,200} > > > > > > > > > > > > thanks! > > > > > > *--Evert* > > > > 2016-02-14 12:14 GMT-02:00 Binoy Dalal : > > > > > From the solr wiki: > > > hl.maxAnalyzedChars > >

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

2016-02-14 Thread Binoy Dalal
t; > return highlighting in large fields that have size greater than 51200 > > characters. > > > > I think this might be your hiccup. > > > > On Sun, 14 Feb 2016, 17:11 Evert R. wrote: > > > > > Hi Paul, > > > > > > Sorry my late repl

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

2016-02-14 Thread Evert R.
haracters. > > I think this might be your hiccup. > > On Sun, 14 Feb 2016, 17:11 Evert R. wrote: > > > Hi Paul, > > > > Sorry my late reply. > > > > All the content is inside de docs. It brings the docs and the pdf file > that > > has the

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

2016-02-14 Thread Binoy Dalal
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 stored content is shortened. Can it be? > > Can you see

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

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

2016-02-14 Thread Paul Libbrecht
file. When searching as: > > q=text:search_word > hl=true > hl.fl=content > > It show the highlight accordingly! =) > > BUT... *if the "search_word" is after the first pages* in my pdf file, > such > as page 15... > > It simply *does not sh

Highlight brings the content from the first pages of pdf

2016-02-14 Thread Evert R.
Hi There, I have a situation where started a techproducts, without any modification, post a pdf file. When searching as: q=text:search_word hl=true hl.fl=content It show the highlight accordingly! =) BUT... *if the "search_word" is after the first pages* in my pdf file, such as page

Re: Solr highlight

2016-02-02 Thread Anil
no df, but hl.fl is * and docId is string field. On 2 February 2016 at 11:01, Zheng Lin Edwin Yeo wrote: > Do you have any setting for "df" and "hl.fl: under your /highlight request > handler in your solrconfig.xml? And which version of Solr are you using? > >

Re: Solr highlight

2016-02-01 Thread Zheng Lin Edwin Yeo
Do you have any setting for "df" and "hl.fl: under your /highlight request handler in your solrconfig.xml? And which version of Solr are you using? Regards, Edwin On 2 February 2016 at 12:54, Anil wrote: > HI, > > Any info on below ? > > Regards, > Anil >

Re: Solr highlight

2016-02-01 Thread Anil
2010-0561-T-0312) on all > fields(q=(2010-0561-T-0312)) , highlights is empty. When I search > q=docId:(2010-0561-T-0312), i can see highlights. > > I am able to see the highlight section if search any other text which is > not part of docId. > > Please help me in identifying the issue. > > > Thanks, > Anil > > >

Solr highlight

2016-02-01 Thread Anil
can see highlights. I am able to see the highlight section if search any other text which is not part of docId. Please help me in identifying the issue. Thanks, Anil

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

[Highlight] Storing one field, highlight with different analysers

2015-12-22 Thread Alessandro Benedetti
( I can enable one, both or no one) and the standard highlighter will perform better. It is not a big deal if I store both the fields ( they are small). But what if I want to store only one ? According to my knowledge the Standard Highlight will : 1) load the stored text ( it is the same for both

Re: Solr Basic Configuration - Highlight - Begginer

2015-12-17 Thread Erick Erickson
I just tried it (admittedly using just a simple input obviously not a PDF file) and it works perfectly as I'd expect. So a couple of things: 1> what happens if you highlight the content field? The text field should be fine. 2> Did you completely blow away your index whenever you

Re: Solr Basic Configuration - Highlight - Begginer

2015-12-17 Thread Evert R.
ps in my understanding > of your precise situation. Here's a few things that weren't necessarily > obvious to me when I took my first try with Solr. > > Highlighting is the end result of a good hit. It is essentially formatting > applied to your hit. It is possible to get a hit

Re: Solr Basic Configuration - Highlight - Begginer

2015-12-17 Thread Evert R.
queries":["id:pdf1"]}} 2. Here is my settings: In schema.xml: In solrconfig.xml: explicit 10 false I have tried: schema.xml: schema.xml: schema.xml: solrco

Re: Solr Basic Configuration - Highlight - Begginer

2015-12-17 Thread Teague James
your hit. It is possible to get a hit without a highlight if certain conditions exist. First, start by making sure you are indexing your target (a PDF file?) correctly. Assuming you are indexing PDFs, are you extracting meta data only or are you parsing the document with Tika? If you want hits on

Re: Solr Basic Configuration - Highlight - Begginer

2015-12-16 Thread Erick Erickson
bq: but when highlight, using the text field...nothing comes up... http://localhost:8983/solr/techproducts/select?q=text:nietava&fq=id:pdf1&wt=json&indent=true&hl=true&hl.fl=text&hl.simple.pre=%3Cem%3E&hl.simple.post=%3C%2Fem%3E It's unclear what this means. No

Re: Solr Basic Configuration - Highlight - Begginer

2015-12-16 Thread Evert R.
Hi Erick and Teague, I found that when using the field 'text' it shows the pdf file result id:pdf1 in this case, like: http://localhost:8983/solr/techproducts/select?fq=id:pdf1&q=nietava but when highlight, using the text field...nothing comes up... http://localhost:8983/sol

  1   2   3   4   5   >