Hi All,
pushing the query to the top.
Does anyone have any idea about it?
On Fri, Nov 27, 2020 at 11:49 AM Ajay Sharma wrote:
> Hi Community,
>
> This is the first time, I am implementing a solr *highlighting *feature.
> I have read the concept via solr documentation
&
Hi Community,
This is the first time, I am implementing a solr *highlighting *feature.
I have read the concept via solr documentation
Link- https://lucene.apache.org/solr/guide/8_2/highlighting.html
To enable highlighting I just have to add *&hl=true&hl.fl=* *in our solr
query and
ve
>> www.lucidworks.com
>>
>>> On Jan 16, 2018, at 12:20 PM, Aashish Agarwal
>> wrote:
>>>
>>> Hello,
>>>
>>> I am using solr highlighting feature on multivalued field containing
>> korean
>>> words.The feature is not worki
t;
> Please share your configuration: highlighter and schema.
>
> --
> Steve
> www.lucidworks.com
>
> > On Jan 16, 2018, at 12:20 PM, Aashish Agarwal
> wrote:
> >
> > Hello,
> >
> > I am using solr highlighting feature on multivalued field containing
>
Hi Aashish,
Which version of Solr are you using?
Please share your configuration: highlighter and schema.
--
Steve
www.lucidworks.com
> On Jan 16, 2018, at 12:20 PM, Aashish Agarwal wrote:
>
> Hello,
>
> I am using solr highlighting feature on multivalued field containing kor
Hello,
I am using solr highlighting feature on multivalued field containing korean
words.The feature is not working as expected. Search is working fine but in
case of highlighting it gives response as .
I am storing term vector for the field and it is also stored=true.
Please reply soon. Need
match was found in.
For this, I want 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:
me, hlVal );
> }
> }
> }
> }
> }
> }
> }
>
> -Original Message-
> From: Ahmet Arslan [mailto:iori.
result.addField(
fieldName, hlVal );
}
}
}
}
}
}
}
-Original Message-
From: Ahmet Arslan [mailto:iori...@yahoo.com.INVALID]
Sent: Thursday, June 11, 2015 6:43 AM
To: solr-user@lucene.apache.org
Subject: Re: Show all fiel
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
wrote:
Hi Ahmet,
I've tried that, but i
Hi Ahmet,
I've tried that, but it's still not able to show.
Those fields are actually of type=float, type=date and type=int.
By default those field type are not able to be highlighted?
Regards,
Edwin
On 11 June 2015 at 15:03, Ahmet Arslan wrote:
> Hi Edwin,
>
> hl.alternateField is probabl
Hi Edwin,
hl.alternateField is probably what you are looking for.
ahmet
On Thursday, June 11, 2015 5:38 AM, Zheng Lin Edwin Yeo
wrote:
Hi,
Is it possible to list all the fields in the highlighting portion in the
output?
Currently,even when I *, it only shows fields where
highlighting is po
Hi,
Is it possible to list all the fields in the highlighting portion in the
output?
Currently,even when I *, 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, regardless if
highli
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
h
http://stackoverflow.com/questions/4014820/solr-highlighting-of-multiple-terms
tells us how to have multiple snippets be returned containing highlighted
searched terms..
my question is: What is the separator of the string that is returned? I'm
seeing it as a carriage return which isn
Thanks David.
So I guess I will have to go with default highlighter (with a higher
fragsize) and then take care of boundryScanning myself.
Ah. Currently the most accurate highlighter is the default one, so if
accuracy is more important than BreakIterator then you’ll have to switch
back. Keep an eye out for some efficiency enhancements to this highlighter
“real soon now”. Separately from that efficiency, later this year I may
have a
Yes. It seems to work for Default Highlighting. I'm using Fast Vector
Highlighter.
Let me also explain why I went for Fast Vector Highlighter. I wanted the
highlighted content to be complete and not broken words and for that I
need to use breakIterator which works only for Fast vector highlightin
John,
I’m not seeing this problem. Presumably we’re talking about the default
highlighter (the most accurate one) but I figure the others would match it
too. To test, I added the following to HighlightTest.java in Solr and this
test passed:
@Test
public void testSpan() {
final String fie
Well, maybe you can work with the ComplexPhraseQueryParser, that's
been around for a while, see:
http://lucene.apache.org/core/4_10_1/queryparser/org/apache/lucene/queryparser/complexPhrase/ComplexPhraseQueryParser.html
Or you can just live with the inherent slop in the ~ operator. You
haven't rea
I have this line highlighted
Jobs was born in San Francisco, California on February
24 1955.
for query "Jobs born"~15 but not for "born Jobs"~15. I want the same result
irrespective of the order of search keywords.
Regards,
John Eipe
“The Roots of Violence: Wealth without work, Pleasure withou
Well, the syntax is wrong. You probably want content_raw:"jobs
born"~15. The way slop works, it is the number of "moves" so this will
match "jobs was a man born somewhere" and "all persons born include
jobs". The difference is that the version that has "born" first and
"jobs" second will take an ex
Hi
I'm trying to match keywords based on 2 fields and excluding order
importance but with distance restriction.
title:(Jobs) AND content_raw:(Jobs born)~15
This throws error:
org.apache.solr.search.SyntaxError: Cannot parse '(Jobs born)~15':
Encountered " "~15 "
What's the correct way to frame
Here is an example from wiki:
Iterator iter = queryResponse.getResults().iterator();
while (iter.hasNext()) {
SolrDocument resultDoc = iter.next();
String content = (String) resultDoc.getFieldValue("content");
String id = (String) resultDoc.getFieldValue("id"); //id is the
hat i use are:
hl.fl=* and hl=true.
I have an array that contains some records with the term between tags but
I'd like to get directy this the title field.
Any ideas?
Thanks
Danilo
--
View this message in context:
http://lucene.472066.n3.nabble.com/solr-highlighting-tp4101919.html
Sent fro
Hi Jack,
thank you for the hint.
Best Regards
Erwin
-Original Message-
From: Jack Krupansky [mailto:j...@basetechnology.com]
Sent: Tuesday, October 29, 2013 4:14 PM
To: solr-user@lucene.apache.org
Subject: Re: Solr Highlighting Best Practices Guideline
There are some detailed examples
There are some detailed examples in my e-book as well.
-- Jack Krupansky
-Original Message-
From: Erwin Gunadi
Sent: Tuesday, October 29, 2013 8:21 AM
To: solr-user@lucene.apache.org
Subject: RE: Solr Highlighting Best Practices Guideline
Hi Furkan,
thanks for the reply.
I was
Message-
From: Furkan KAMACI [mailto:furkankam...@gmail.com]
Sent: Tuesday, October 29, 2013 12:56 PM
To: solr-user@lucene.apache.org
Subject: Re: Solr Highlighting Best Practices Guideline
This is a too broad question. If you have specific questions or want to see
other users' problems
This is a too broad question. If you have specific questions or want to see
other users' problems about highlighting feature at Solr you can check
here:
http://search-lucene.com/?q=highlighting&fc_project=Solr&fc_type=mail+_hash_+user
On the other hand you can read Using Additional Solr Functionali
Hi,
After having done the official Solr-Tutorial
(https://lucene.apache.org/solr/4_5_1/) and read the Solr-Reference-Guide
(https://www.apache.org/dyn/closer.cgi/lucene/solr/ref-guide/), I would like to
ask whether someone can point me to best practices and/or tutorial on how to
setup the high
>> I’m having some issues with Solr search results (using Solr 1.4 ) . I
have enabled highlighting of searched text (hl=true) and set the fragment
size as 500 (hl.fragsize=500) in the search query.
Below is the (screen shot) results shown when I searched for the term
‘grandfather’ (2 results are
Hi,
I'm having some issues with Solr search results (using Solr 1.4 ) . I have
enabled highlighting of searched text (hl=true) and set the fragment size as
500 (hl.fragsize=500) in the search query.
Below is the (screen shot) results shown when I searched for the term
'grandfather' (2 results a
for
company_text which is just the full field.
Is it possible to only return the highlights for the fields that had a match
?
I tried requireFieldMatch with usePhraseHighlighter but that doesn't work.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-highlig
(12/04/05 15:34), Thomas Werthmüller wrote:
Hi
I configured solr that also word parts are found. When is search "Monday"
or "Mond" the right document is found. This is done with the following
configuration in the schema.xml:.
Now, when I add hl=true to the query sting, the excerpt for "Monday"
(12/02/22 7:53), Nitin Arora wrote:
Hi,
I'm using SOLR and Lucene in my application for search.
I'm facing an issue of highlighting using FastVectorHighlighter not working
when I use PayloadTermQueries as clauses of a BooleanQuery.
After Debugging I found that In DefaultSolrHighlighter.Java,
f
).length == 1 ){
flatQueries.add( new TermQuery( pq.getTerms()[0] ) );
}
}
}
// else discard queries
}
What is the best way to get highlighting working with Payload Term Queries?
Thanks
Nitin
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr
e.queryParser.ParseException: Cannot
parse
'@{http://www.agilent.com/openlab/eln/model/content/0.1}label.__:"{en}label1";':
Encountered " "}" "} "" at line 1, column 54. Was expecting one of: "TO" ...
... ... "
--
View this messa
(11/11/22 22:30), VladislavLysov wrote:
Hello!!!
I have a trouble with Solr highlighting. I have any document with next
fields- "TYPE", "DBID" and others. When i do next request -
https://localhost:8443/solr/myCore/afts?wt=standard&q=TYPE:
https://localhost:8443/solr/m
Hello!!!
I have a trouble with Solr highlighting. I have any document with next
fields- "TYPE", "DBID" and others. When i do next request -
https://localhost:8443/solr/myCore/afts?wt=standard&q=TYPE:
https://localhost:8443/solr/myCore/afts?wt=standard&q=TYPE:"cm
11, at 21.48, Jamie Johnson wrote:
>
> > I've read in several places that the Solr Highlighting component ignores
> > fqs, is there a way to enable it for them? I have an interface where a
> user
> > essentially continues to pare down the information they are looking fo
Hi,
Vote for this feature https://issues.apache.org/jira/browse/SOLR-1926
--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Solr Training - www.solrtraining.com
On 17. juni 2011, at 21.48, Jamie Johnson wrote:
> I've read in several places that the Solr High
I've read in several places that the Solr Highlighting component ignores
fqs, is there a way to enable it for them? I have an interface where a user
essentially continues to pare down the information they are looking for by
adding fqs so the initial query is usually something like "J
Hi all,
I'm implementing Solr for a course and book search service for college
students, and I'm running into some issues with the highlighting plugin.
After a few minutes of tinkering, searching on Google, searching the group
archives and not finding anything, I thought I would see if anyone else
s.
>
> Searching histo will return : African American History
>
> --- On Tue, 1/11/11, Dan Loewenherz wrote:
>
> > From: Dan Loewenherz
> > Subject: Re: Solr highlighting is botching output
> > To: solr-user@lucene.apache.org
> > Date: Tuesday, Januar
Replacing with EdgeNGramTokenizerFactory with
combination should solve your problem. Preserving your search within
words.
Searching histo will return : African American History
--- On Tue, 1/11/11, Dan Loewenherz wrote:
> From: Dan Loewenherz
> Subject: Re: Solr highlighting is bo
On Mon, Jan 10, 2011 at 9:19 PM, Ahmet Arslan wrote:
>
> Not sure about your solr version but probably it can be
> https://issues.apache.org/jira/browse/LUCENE-2266
>
> Is there a special reason for using EdgeNGramTokenizerFactory?
> Replacing this tokenizer with WhiteSpaceTokenizer should solve
Not sure about your solr version but probably it can be
https://issues.apache.org/jira/browse/LUCENE-2266
Is there a special reason for using EdgeNGramTokenizerFactory?
Replacing this tokenizer with WhiteSpaceTokenizer should solve this.
Or upgrade solr version.
And I don't see either in your
On Mon, Jan 10, 2011 at 6:51 PM, Ahmet Arslan wrote:
> > Thats really strange. Can you provide us field type
> > definition of text field. And full search URL that caused
> > that output. And the solr version.
> >
>
> Also, did you enable term vectors on text field?
>
>
Not sure what those are, s
On Mon, Jan 10, 2011 at 6:48 PM, Ahmet Arslan wrote:
> Thats really strange. Can you provide us field type definition of text
> field. And full search URL that caused that output. And the solr version.
>
Sure. Full search URL:
/solr/select?indent=on
&version=2.2&q=history&fq=&start=0&rows=10&fl
> Thats really strange. Can you provide us field type
> definition of text field. And full search URL that caused
> that output. And the solr version.
>
Also, did you enable term vectors on text field?
> I'm implementing Solr for a course and book search service
> for college
> students, and I'm running into some issues with the
> highlighting plugin.
> After a few minutes of tinkering, searching on Google,
> searching the group
> archives and not finding anything, I thought I would see if
> anyo
Hi all,
I'm implementing Solr for a course and book search service for college
students, and I'm running into some issues with the highlighting plugin.
After a few minutes of tinkering, searching on Google, searching the group
archives and not finding anything, I thought I would see if anyone else
Not sure how to write that subject line. I'm getting some weird behavior out
of the highlighter in Solr. It seems like an edge case, but I'm curious to
hear if this is known about, or if it's something worth looking into further.
Background:
I'm using Solr's highlighting facility to tag words
(10/09/25 8:07), Jed Glazner wrote:
Hi Koji,
I'm trying to get the FVH to work per your suggestion, but I think I must have
something misconfigured...
Here is the field def in my schema.xml:
Then here is my request handler in solrconfig.xml:
edismax
name_title^3 plain^6 grams^1 sou
Hi Koji,
I'm trying to get the FVH to work per your suggestion, but I think I
must have something misconfigured...
Here is the field def in my schema.xml:
Then here is my request handler in solrconfig.xml:
H has a Right To Life,
> otherwise we all die.
>
> Read 'Hot, Flat, and Crowded'
> Laugh at http://www.yert.com/film.php
>
>
> --- On Fri, 9/17/10, Ahson Iqbal wrote:
>
>> From: Ahson Iqbal
>> Subject: Solr Highlighting Issue
>> To: solr-user@lucene.a
How does highlighting work with JSON output?
Dennis Gearon
Signature Warning
EARTH has a Right To Life,
otherwise we all die.
Read 'Hot, Flat, and Crowded'
Laugh at http://www.yert.com/film.php
--- On Fri, 9/17/10, Ahson Iqbal wrote:
> From: Ahson Iqbal
&g
Hi Koji
thank you very much it really works
From: Koji Sekiguchi
To: solr-user@lucene.apache.org
Sent: Fri, September 17, 2010 7:11:31 PM
Subject: Re: Solr Highlighting Issue
(10/09/17 16:36), Ahson Iqbal wrote:
> Hi All
>
> I have an issue in hig
(10/09/17 16:36), Ahson Iqbal wrote:
Hi All
I have an issue in highlighting that if i query solr on more than one fields
like "+Contents:risk +Form:1" and even i specify the highlighting field is
"Contents" it still highlights risk as well as 1, because it is specified in the
query.. now if i s
Hi All
I have an issue in highlighting that if i query solr on more than one fields
like "+Contents:risk +Form:1" and even i specify the highlighting field is
"Contents" it still highlights risk as well as 1, because it is specified in
the
query.. now if i split the query as "+Contents:risk" i
(10/09/09 2:26), Jed Glazner wrote:
Thanks for taking time to read through this. I'm using a checkout from
the solr 3.x branch
My problem is with the highlighter and wildcards
I can get the highlighter to work with wild cards just fine, the problem
is that solr is returning the term matched
Anybody?
On 09/08/2010 11:26 AM, Jed Glazner wrote:
Thanks for taking time to read through this. I'm using a checkout from
the solr 3.x branch
My problem is with the highlighter and wildcards
I can get the highlighter to work with wild cards just fine, the problem
is that solr is retur
Thanks for taking time to read through this. I'm using a checkout from
the solr 3.x branch
My problem is with the highlighter and wildcards
I can get the highlighter to work with wild cards just fine, the problem
is that solr is returning the term matched, when what I want it to do
is highlig
No problem: wrapping and unwrapping escaped text can be very confusing.
On Fri, Mar 26, 2010 at 6:31 AM, Niraj Aswani wrote:
> Hi Lance,
>
> apologies.. please ignore my previous mail. I'll have a look at the
> PatternReplaceFilter.
>
> Thanks,
> Niraj
>
> Niraj Aswani wrote:
>>
>> Hi Lance,
>>
Hi Lance,
apologies.. please ignore my previous mail. I'll have a look at the
PatternReplaceFilter.
Thanks,
Niraj
Niraj Aswani wrote:
Hi Lance,
Yes, that is once solution but wouldn't it stop people searching for
something like "characters at the index time, one would have to write a quer
Hi Lance,
Yes, that is once solution but wouldn't it stop people searching for
something like "characters at the index time, one would have to write a query like
"
To display html-markup in an html page, it has to be in entity-encoded
form. So, encode the <> as entities in your input application, and
have it indexed and stored in this format. Then, the are
inserted as normal. This gives you the html text displayable in an
html page, with all words highlighta
Hi,
I am using the following two parameters to highlight the hits.
"hl.simple.pre=" + URLEncoder.encode("")
"hl.simple.post=" + URLEncoder.encode("")
This seems to work. However, there is a bit of trouble when the text
itself contains html markup.
For example, I have indexed a document with
On Thu, Sep 24, 2009 at 7:04 PM, Koji Sekiguchi wrote:
> Set hl.usePhraseHighlighter parameter to true:
>
> http://wiki.apache.org/solr/HighlightingParameters#hl.usePhraseHighlighter
>
>
That seems to have done it. Thanks.
--
http://www.linkedin.com/in/paultomblin
Set hl.usePhraseHighlighter parameter to true:
http://wiki.apache.org/solr/HighlightingParameters#hl.usePhraseHighlighter
Koji
Paul Tomblin wrote:
If I do a query for a couple of words in quotes, Solr correctly only returns
pages where those words appear exactly within the quotes. But the
hig
If I do a query for a couple of words in quotes, Solr correctly only returns
pages where those words appear exactly within the quotes. But the
highlighting acts as if the words were given separately, and stems them and
everything. For example, if I search for "knee pain", it returns a document
th
M
To: solr-user@lucene.apache.org
Subject: solr highlighting
Hi there,
I am new to solr. I want search term to be highlighted on the results. I
thought it is pretty simple, but could not make it work. I read a lot of solr
documents and mail archives (I wish there is a search function for this, we are
tal
Do you see anything wrong there?
Thanks,
- Kevin
-Original Message-
From: Mike Klaas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 14, 2008 12:03 PM
To: solr-user@lucene.apache.org
Subject: Re: solr highlighting
The minimum "stuff" needed to highlight term X in field F is:
fie
Yes. I did all that. Maybe my custom analyzer conflicts with highlighting.
Thanks for the tips.
- Kevin
-Original Message-
From: Mike Klaas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 14, 2008 12:03 PM
To: solr-user@lucene.apache.org
Subject: Re: solr highlighting
The minimum "
n Vogler [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 14, 2008 5:55 AM
To: solr-user@lucene.apache.org
Subject: Re: solr highlighting
On Wednesday 14 May 2008 09:21:36 Kevin Xiao wrote:
Hi there,
I am new to solr. I want search term to be highlighted on the
results. I
thought it is pretty si
ogler [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 14, 2008 5:55 AM
To: solr-user@lucene.apache.org
Subject: Re: solr highlighting
On Wednesday 14 May 2008 09:21:36 Kevin Xiao wrote:
> Hi there,
>
> I am new to solr. I want search term to be highlighted on the results. I
> thought it is p
On Wednesday 14 May 2008 09:21:36 Kevin Xiao wrote:
> Hi there,
>
> I am new to solr. I want search term to be highlighted on the results. I
> thought it is pretty simple, but could not make it work. I read a lot of
> solr documents and mail archives (I wish there is a search function for
> this, w
Hi there,
I am new to solr. I want search term to be highlighted on the results. I
thought it is pretty simple, but could not make it work. I read a lot of solr
documents and mail archives (I wish there is a search function for this, we are
talking about solr, aren’t we? ☺).
Solrconfig.xml
est Regards, Martin Owens
-Original Message-
From: Binkley, Peter [mailto:[EMAIL PROTECTED]
Sent: Wed 12/5/2007 4:07 PM
To: solr-user@lucene.apache.org
Subject: RE: Solr Highlighting, word index
We're doing a similar process using term vectors to look up the
bounding-box data in
380. We're looking at using
Lucene's new payload functionality.
Peter
-Original Message-
From: Mike Klaas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 05, 2007 2:19 PM
To: solr-user@lucene.apache.org
Subject: Re: Solr Highlighting, word index
On 5-Dec-07, at 1:02 PM,
On 5-Dec-07, at 1:02 PM, Owens, Martin wrote:
Thanks Mike, So in essence I need to write a new RequestHandler
plugin which takes the query string, tokenises it then perform a
some kind of action against the index to return results which I
should then be able to get the termVectors from?
You do not necessarily need two requests; instead, you can override
or modify the request handler you are using (StandardRequestHandler,
DisMaxREquestHandler) to return the information. You'll have to
process the Query to extract the terms (like HighlighingUtils does),
then get the TermVe
On 3-Dec-07, at 10:58 AM, Owens, Martin wrote:
You can tell lucene to store token offsets using TermVectors
(configurable via schema.xml). Then you can customize the request
handler to return the token offsets (and/or positions) by retrieving
the TVs.
I think that is the best plan of actio
Owens, Martin wrote:
Hello everyone,
We're working to replace the old Linux version of dtSearch with Lucene/Solr,
using the http requests for our perl side and java for the indexing.
The functionality that is causing the most problems is the highlighting since
we're not storing the text in so
> You can tell lucene to store token offsets using TermVectors
> (configurable via schema.xml). Then you can customize the request
> handler to return the token offsets (and/or positions) by retrieving
> the TVs.
I think that is the best plan of action, how do I create a custom request
h
It's good you already have the data because if you somehow got it from
some sort of calculations I'd have to tell my product manager that
the feature he wanted that I told him couldn't be done with our data
was possible after all ...
About page breaks:
Another approach to paging is to index a spe
On 30-Nov-07, at 1:02 PM, Owens, Martin wrote:
Hello everyone,
We're working to replace the old Linux version of dtSearch with
Lucene/Solr, using the http requests for our perl side and java for
the indexing.
The functionality that is causing the most problems is the
highlighting since
> Or I'm just completely off base here.
A little, we already have the locations for each word on every ocr, we just
need the word index to feed into the existing program.
Best Regards, Martin Owens
Oh, good luck on this! I've had similar issues and have just thrown up my
hands. How do you expect to be able to correlate a word in the index
with the bounding box in the OCR? I'm not sure this is a solved problem
unless your OCR is *very* regular and clean. Even if you can calculate
the ordinal p
Hello everyone,
We're working to replace the old Linux version of dtSearch with Lucene/Solr,
using the http requests for our perl side and java for the indexing.
The functionality that is causing the most problems is the highlighting since
we're not storing the text in solr (only indexing) and
90 matches
Mail list logo