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 ?
&
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
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
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
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
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
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
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
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
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
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
: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
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
=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
: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
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
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":{
"
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
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?
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
Thanks Erick, that indeed was the problem. All good now!
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
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
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
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
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
>
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
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
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
;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
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
Dear all,
Is it possible to have a colored highlight in a multi-value field ?
Im 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
, 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:
>
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
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
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
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
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
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
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
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
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
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
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
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-
&
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
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
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+
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
honest, but I worked out something that works:
{"add-searchcomponent": {"highlight": {"name":"myHighlight",
"class":"solr.HighlightComponent","": {"gap": {"default":"true",
"name": "gap&
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:
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
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",
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
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
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
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
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
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
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
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
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
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
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
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
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=
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
; >
> > > > > > is there any alternative approach ? Thanks in advance.
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 15 February 2016 at 17:27, Binoy Dalal <
> binoydala...@gmail.com>
&g
> >> 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
; >
> > > >> 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
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:
> > >>
> >
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
> >>
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
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
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.
>
&
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
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
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
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
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
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
00
> > >
> > > 0.5
> > >
> > > [-\w
> > > ,/\n\"']{20,200}
> > >
> > >
> > >
> > >
> > >
> > > thanks!
> > >
> > >
&g
']{20,200}
> >
> >
> >
> >
> >
> > thanks!
> >
> >
> > *--Evert*
> >
> > 2016-02-14 12:14 GMT-02:00 Binoy Dalal :
> >
> > > From the solr wiki:
> > > hl.maxAnalyzedChars
> >
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
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
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
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
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
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
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?
>
>
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
>
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
>
>
>
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
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
( 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
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
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
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
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
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
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 - 100 of 417 matches
Mail list logo