Hi - A simple yes or no question, I think.
I want to retrieve highlighting result from a QueryResponse. I know to use the
following:
MapString, MapString, ListString highlighting = resp.getHighlighting();
Most of the examples I've seen use the document uid to extract the results
like so
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 John and a user
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 Highlighting
This is really not what I'm looking for. While I could see it accomplishing
the job I'd prefer that the highlighting component take into account the fqs
when doing highlighting. Again I can get around this by simply joining all
the fqs with an AND and making them the query but this is limiting
I have an index with various fields and I want to highlight query
matchings on title and content fields.
These fields could contain html tags so I've configured HtmlFormatter
for highlighting. The problem is that if the query doesn't match the
text of the field, solr returns the value
(11/06/17 0:15), Massimo Schiavon wrote:
I have an index with various fields and I want to highlight query matchings on title
and content
fields.
These fields could contain html tags so I've configured HtmlFormatter for
highlighting. The problem
is that if the query doesn't match the text
(11/06/09 4:24), Burton-West, Tom wrote:
We are trying to implement highlighting for wildcard (MultiTerm) queries. This
seems to work find with the regular highlighter but when we try to use the
fastVectorHighlighter we don't see any results in the highlighting section of
the response
Hi Koji,
Thank you for your reply.
It is the feature of FVH. FVH supports TermQuery, PhraseQuery, BooleanQuery
and DisjunctionMaxQuery
and Query constructed by those queries.
Sorry, I'm not sure I understand. Are you saying that FVH supports MultiTerm
highlighting?
Tom
MultiTerm
highlighting?
Tom,
I'm sorry but FVH doesn't cover MultiTermQuery.
koji
--
http://www.rondhuit.com/en/
We are trying to implement highlighting for wildcard (MultiTerm) queries. This
seems to work find with the regular highlighter but when we try to use the
fastVectorHighlighter we don't see any results in the highlighting section of
the response. Appended below are the parameters we are using
Just to check, does the field have termVectors=true set?
I think it's required for FVH to work.
Best
Erick
On Wed, Jun 8, 2011 at 3:24 PM, Burton-West, Tom tburt...@umich.edu wrote:
We are trying to implement highlighting for wildcard (MultiTerm) queries.
This seems to work find
Hi Erick,
Thanks for asking, yes we have termVectors=true set:
fieldType name=FullText class=solr.TextField positionIncrementGap=100
autoGeneratePhraseQueries=false stored=true termVectors=true
termPositions=true termOffsets=true
I guess I should also mention that highlighting works fine
...@sirsidynix.com
wrote:
The only thing I can think of is to post-process your snippets. I.E.
pull the highlighting tags out of the strings, look for the match in your
result description field looking for a match, and if you find one, replace
that description with the original highlight text
wrote:
The only thing I can think of is to post-process your snippets. I.E. pull
the highlighting tags out of the strings, look for the match in your result
description field looking for a match, and if you find one, replace that
description with the original highlight text (i.e
Hi All,
I am having a problem with search highlighting for multiValued fields and am
wondering if someone can point me in the right direction.
I have in my schema a multiValued field as such:
field name=description type=text stored=true indexed=true
multiValued=true/
When I search for term Tel
on Twitter!
-Original Message-
From: Jeffrey Chang [mailto:jclal...@gmail.com]
Sent: Thursday, May 26, 2011 11:10 PM
To: solr-user@lucene.apache.org
Subject: highlighting in multiValued field
Hi All,
I am having a problem with search highlighting for multiValued fields
and am
The only thing I can think of is to post-process your snippets. I.E. pull the
highlighting tags out of the strings, look for the match in your result
description field looking for a match, and if you find one, replace that
description with the original highlight text (i.e. with the highlight
Hi,
I use Solrnet to develop a search engine. In my application, I have a field
called file_contents which I use for highlighting. Am able to get the
highlights without a problem. Now I need to format it. For example, if the
keyword occurs multiple times in the field, I have to display it lime
needs, then return it. That's
basically what I do for mine.
On Tue, 2011-05-24 at 16:38 +0530, Vignesh Raj wrote:
Hi,
I use Solrnet to develop a search engine. In my application, I have a field
called file_contents which I use for highlighting. Am able to get the
highlights without a problem
Hi,
I'd like to make the highlighting work as follows:
length(all snippits) approx. 200 chars
hl.snippits = 2 (2 snippits)
e.g. if there is onyl 1 snippet available, length = 200chars
e.g. if there is 1 snippet, length each snippet == 100chars, so I
take the first 2 and get 200 chars
). Unfortunately, hl.requireFieldMatch=false does not help.
Request handler config is the following:
requestHandler name=standard class=solr.SearchHandler default=true
lst name=defaults
str name=echoParamsexplicit/str
/lst
/requestHandler
Highlighter config is the following:
highlighting
fragmenter
=false does not
help.
Request handler config is the following:
requestHandler name=standard class=solr.SearchHandler default=true
lst name=defaults
str name=echoParamsexplicit/str
/lst
/requestHandler
Highlighter config is the following:
highlighting
fragmenter name=gap
Hi,
If I do a search
http://localhost:8983/solr/tester/select/?q=kongerigethl=true then in
the lst name=highlighting subtree I get
arr name=all_text
−
str
Aftale mellem emkongeriget/em Danmark og emkongeriget/em Sverige
/str
/arr
/lst
What I need to do is to either
1. Return all of all_text
Bryan, on Q2 - what about using xpath like 'str/em' ?
Regards
Stefan
On Wed, May 18, 2011 at 2:25 PM, bryan rasmussen
rasmussen.br...@gmail.com wrote:
Hi,
If I do a search
http://localhost:8983/solr/tester/select/?q=kongerigethl=true then in
the lst name=highlighting subtree I get
arr name
Bryan, on Q2 - what about using xpath like 'str/em' ?
How do I do that? The highlighting result, at least in the solr
installation I have (3. something) returns the em as escaped markup.
Is there an xpath parameter or configuration I can set for
highlighting, or a way to change the em elements
.
Best
Erick
On Wed, May 18, 2011 at 8:25 AM, bryan rasmussen
rasmussen.br...@gmail.com wrote:
Hi,
If I do a search
http://localhost:8983/solr/tester/select/?q=kongerigethl=true then in
the lst name=highlighting subtree I get
arr name=all_text
-
str
Aftale mellem emkongeriget/em Danmark og
/tester/select/?q=kongerigethl=true then in
the lst name=highlighting subtree I get
arr name=all_text
-
str
Aftale mellem emkongeriget/em Danmark og emkongeriget/em Sverige
/str
/arr
/lst
What I need to do is to either
1. Return all of all_text which should be possible by setting
Thank you, so much!
That was it.
Thanks again
Raj
-Original Message-
From: Koji Sekiguchi [mailto:k...@r.email.ne.jp]
Sent: Monday, May 16, 2011 8:45 PM
To: solr-user@lucene.apache.org
Subject: Re: Highlighting issue with Solr 3.1
(11/05/17 3:27), Nemani, Raj wrote:
All,
I
All,
I have just installed Solr 3.1 running on Tomcat 7. I am noticing a possible
issue with Highlighting. I have a filed in my index called story. The solr
document that I am testing with the data in the story field starts with the
following snippet (remaining data in the field
(11/05/17 3:27), Nemani, Raj wrote:
All,
I have just installed Solr 3.1 running on Tomcat 7. I am noticing a possible issue with
Highlighting. I have a filed in my index called story. The solr document
that I am testing with the data in the story field starts with the following snippet
Have you recently change its type from unstored to stored?
if so you have to reindex .
-
Thanx:
Grijesh
www.gettinhahead.co.in
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-1-3-highlighting-problem-tp2918089p2922117.html
Sent from the Solr - User mailing list
I indeed changed the type from unstored to stored. But I did do a reindex
(several times already) and a commit, restarted Tomcat, restarted PC,
nothing works. When I do a search the text field shows up in the results.
But that is the only thing that has changed. lst name=highlighting tag
only
You're using the string fieldType to get highlighting to work but it must be
tokenized. Use a fieldType with a tokenizer.
See also: http://wiki.apache.org/solr/FieldOptionsByUseCase
Hi,
I'm using the old 1.3 Solr version on one of my sites and I decided to
add a highlighting feature
Oh!
I did't see the string
-
Thanx:
Grijesh
www.gettinhahead.co.in
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-1-3-highlighting-problem-tp2918089p2922532.html
Sent from the Solr - User mailing list archive at Nabble.com.
Hi Markus,
thanks for the tip. I replaced the string field with a tokenizer field and
now it works. Thank you!
Kind regards,
Nick
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-1-3-highlighting-problem-tp2918089p2922785.html
Sent from the Solr - User mailing list
Hi,
I'm using the old 1.3 Solr version on one of my sites and I decided to add
a highlighting feature. Unfortunately I can not get it to work. I'm doing
some testing in the Sorl admin interface without much luck. Below is some
information that describes the problem.
I would like to highlight
Whether your field text is stored or not? Highlighting works with stored
fields of schema only.
-
Thanx:
Grijesh
www.gettinhahead.co.in
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-1-3-highlighting-problem-tp2918089p2918299.html
Sent from the Solr - User
Hi Grijesh,
The field text is stored and yet it is not working.
Kind regards,
Nick
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-1-3-highlighting-problem-tp2918089p2918518.html
Sent from the Solr - User mailing list archive at Nabble.com.
=dismax}
And then I add hl=true as a top-level parameter.
The result is that the response includes some empty values in the
highlighting list and nothing else:
lst name=highlighting
lst/
lst/
lst/
lst/
lst/
lst/
lst/
lst/
lst/
lst/
/lst
Using just q={!boost b=$dateboost v=$qq defType=dismax} works
Thanks for the suggestion, Peter;
the problem was elsewhere though - somewhere in the highlighting
module.
I've fixed it by adding (into the field definition in schema.xml) a
custom czech charFilter (mappings from í = i) - then it started to
work as expected.
Cheers,
Pavel
, keywords, content) and I'm
trying to use highlighting.
With queries using ASCII characters there is no problem; it works
smoothly. However,
when I search using a czech word including non-ascii chars (like slovíčko
for example -
http://localhost:8983/solr/select/?q=slov%C3%AD%C4
Hello,
I've hit a (probably trivial) roadblock I don't know how to overcome
with Solr 3.1:
I have a document with common fields (title, keywords, content) and I'm
trying to use highlighting.
With queries using ASCII characters there is no problem; it works
smoothly. However
-user@lucene.apache.org
Cc:
Sent: Saturday, April 30, 2011 1:31 PM
Subject: Re: Highlighting words with non-ascii chars
Hello,
I've hit a (probably trivial) roadblock I don't know how to overcome with
Solr 3.1:
I have a document with common fields (title, keywords, content) and I'm
trying
Hi,
thanks for pointing me to the encoder config - this change alone didn't
solve it, though - it just leaves normal characters without HTML
entities - like this in the non-problematic case:
**
lst name=highlighting
lst name=2009
arr name=user_keywords
.
404.878.7474
-Original Message-
From: Ramanathapuram, Rajesh [mailto:rajesh.ramanathapu...@turner.com]
Sent: Sunday, April 24, 2011 1:58 AM
To: solr-user@lucene.apache.org
Cc: solr-user@lucene.apache.org
Subject: Re: Solr - Multi Term highlighting issue
I think I am using ver 1.4, I 'll try
@lucene.apache.org
Subject: Re: Solr - Multi Term highlighting issue
How are your hl.fl fields defined in schema.xml?
Koji
--
http://www.rondhuit.com/en/
(11/04/23 1:23), Ramanathapuram, Rajesh wrote:
Does anybody has other suggestions?
thanks regards,
Rajesh Ramana
Enterprise Applications
int name=ps100/int
str name=q.alt*:*/str
!-- example highlighter config, enable per-query with hl=true --
str name=hl.fltext features name/str
!-- for this field, we want no fragmenting, just highlighting --
str name=f.name.hl.fragsize0/str
!-- instructs Solr
: Re: Solr - Multi Term highlighting issue
How are your hl.fl fields defined in schema.xml?
Koji
--
http://www.rondhuit.com/en/
(11/04/23 1:23), Ramanathapuram, Rajesh wrote:
Does anybody has other suggestions?
thanks regards,
Rajesh Ramana
Enterprise Applications, Turner Broadcasting System
]
Sent: Saturday, April 23, 2011 9:51 PM
To: solr-user@lucene.apache.org
Subject: Re: Solr - Multi Term highlighting issue
Hi Rajesh,
My question was how story and slug fields are defined in schema.xml.
In other words, please show us your fieldType/ and field/ for those
fields.
Koji
--
http
PM
To: solr-user@lucene.apache.org
Subject: Re: Solr - Multi Term highlighting issue
Hi Rajesh,
My question was how story and slug fields are defined in schema.xml.
In other words, please show us yourfieldType/ andfield/ for those
fields.
Koji
--
http://www.rondhuit.com/en/
(11/04/24 10:18
things up.
Here it is (for review) from solrconfig.xml, if you can think of
anything obvious
highlighting
!-- Configure the standard fragmenter --
!-- This could most likely be commented out in the default case
--
fragmenter name=gap
class=org.apache.solr.highlight.GapFragmenter
On Sat, Apr 23, 2011 at 11:36 PM, Ramanathapuram, Rajesh
rajesh.ramanathapu...@turner.com wrote:
What is really weird is if I search for srchterm1 and srchterm2
separately, the results come up fine. If I search for multiple terms,
this issue seems to happen when the terms are separated by html
I think I am using ver 1.4, I 'll try to review the link you provided later
today.
Rajesh Ramana
On Apr 24, 2011, at 12:52 AM, Robert Muir rcm...@gmail.com wrote:
On Sat, Apr 23, 2011 at 11:36 PM, Ramanathapuram, Rajesh
rajesh.ramanathapu...@turner.com wrote:
What is really weird is if I
@lucene.apache.org
Subject: RE: Solr - Multi Term highlighting issue
Thanks Erick.
I tried your suggestion, the issue still exists.
http://localhost:8983/searchsolr/mainCore/select?indent=onversion=2.2q=mec+us+chilefq=storyid%3DXXX%22start=0rows=10fl=*qt=standardwt=standardexplainOther=hl
-
From: Ramanathapuram, Rajesh [mailto:rajesh.ramanathapu...@turner.com]
Sent: Wednesday, April 20, 2011 2:51 PM
To: solr-user@lucene.apache.org
Subject: RE: Solr - Multi Term highlighting issue
Thanks Erick.
I tried your suggestion, the issue still exists.
http://localhost:8983/searchsolr
-robert
2011/4/20 Robert Gründlerrob...@dubture.com:
Hi all,
i'm getting the following exception when using highlighting for a field
containing HTMLStripCharFilterFactory:
org.apache.lucene.search.highlight.InvalidTokenOffsetsException: Token ...
exceeds length of provided text sized 21
It seems
. Is this the right
starting point
for such an endeavour ? http://wiki.apache.org/solr/HackingSolr
-robert
2011/4/20 Robert Gründlerrob...@dubture.com:
Hi all,
i'm getting the following exception when using highlighting for a field
containing HTMLStripCharFilterFactory
Hello,
I am dealing with a highlighting issue in SOLR, I will try to explain
the issue.
When I search for a single term in solr, it wraps em tag around the
words I want to highlight, all works well.
But if I search multiple term, for most part highlighting works good and
then for some
Does your configuration have hl.mergeContiguous set to true by any
chance? And what
happens if you explicitly set this to false on your query?
Best
Erick
On Wed, Apr 20, 2011 at 9:43 AM, Ramanathapuram, Rajesh
rajesh.ramanathapu...@turner.com wrote:
Hello,
I am dealing with a highlighting
Hi all,
i'm getting the following exception when using highlighting for a field
containing HTMLStripCharFilterFactory:
org.apache.lucene.search.highlight.InvalidTokenOffsetsException: Token
... exceeds length of provided text sized 21
It seems this is a know issue:
https
Hi, there is a proposed patch uploaded to the issue. Maybe you can
help by reviewing/testing it?
2011/4/20 Robert Gründler rob...@dubture.com:
Hi all,
i'm getting the following exception when using highlighting for a field
containing HTMLStripCharFilterFactory
-Original Message-
From: Erick Erickson [mailto:erickerick...@gmail.com]
Sent: Wednesday, April 20, 2011 11:59 AM
To: solr-user@lucene.apache.org
Subject: Re: Solr - Multi Term highlighting issue
Does your configuration have hl.mergeContiguous set to true by any chance?
And what happens if you
Hi,
I'm having trouble getting highlighting to work for a large text
field. This field can be in several languages, so I'm sending it to
one of several fields configured appropriately (e.g. cv_text_en) and
then copying it to a common field for storage and display (cv_text).
The relevant fragment
I guess what I'm asking is - can Solr highlight non-indexed fields?
Tom
On 7 April 2011 11:33, Tom Mortimer t...@flax.co.uk wrote:
Hi,
I'm having trouble getting highlighting to work for a large text
field. This field can be in several languages, so I'm sending it to
one of several fields
I guess what I'm asking is - can Solr
highlight non-indexed fields?
http://wiki.apache.org/solr/FieldOptionsByUseCase
Problem solved. *bangs head on desk*
T
On 7 April 2011 11:33, Tom Mortimer t...@flax.co.uk wrote:
Hi,
I'm having trouble getting highlighting to work for a large text
field. This field can be in several languages, so I'm sending it to
one of several fields configured appropriately (e.g
Hi All,
I'd like to make the highlighting work as follows:
length(all snippits) approx. 200 chars
hl.snippits = 2 (2 snippits)
is this possible with the regex fragmenter? or does anyone know of any
contrib fragmenter that might do this?
Many thanks
Dan
28 mars 2011 11:16
À : solr-user@lucene.apache.org
Objet : Highlighting Problem
dear solr specialists,
my data looks like this:
j]s(dh)fjk [hf]sjkadh asdj(kfh) [skdjfh aslkfjhalwe uigfrhj bsd bsdfga sjfg
asdlfj.
if I want to query for the first word, the following queries must match:
j]s(dh
mapping=mapping-ISOLatin1Accent.txt/
filter class=solr.NGramFilterFactory minGramSize=2 maxGramSize=2
/
/analyzer
/fieldType
With this definition the matching works as planned. But not for highlighting,
there the special characters seem to move the em tags to wrong positions
Stefan,
this is a duplicate post for
http://lucene.472066.n3.nabble.com/Highlighting-Problem-td2746022.html
no? if see, please stick w/ one of them
Regards
Stefan
On Tue, Mar 29, 2011 at 10:30 AM, Stefan Mueller solru...@yahoo.com wrote:
dear solr users,
my data looks like this:
j]s(dh)fjk
. But not for highlighting,
there the special characters seem to move the tags to wrong positions, for
example searching for jsdhfjk misses the last 3 letters of the words ( = 3
special characters from PatternReplaceFilterFactory)
j]s(dh)fjk
Solr has so many bells and whistles - what must I do
Hi,
It seems that we have the same problem, how did you solve it ? Did you write
some pieces of code ?
thx,
Ludovic
-
Jouve
France.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Full-text-hit-term-highlighting-tp2020402p2698440.html
Sent from the Solr - User mailing
implemented a custom query parser plug in which
I make use of nested
span queries to fulfill this requirement. Now it looks that
documents are
filtered correctly, but there is an issue in highlighting
that also highlights
the terms that are alone(not in phrase), can some body
suggest me
Yea I was going to reply to that thread but then it just slipped out of my
mind. :)
Actually we have two indexes. One that is used for searching and other for
highlighting. Their structure is different too like the 1st one has all the
metadata + document contents indexed (just for searching
/
- Original Message
From: Grant Ingersoll gsing...@apache.org
To: solr-user@lucene.apache.org
Sent: Wed, January 26, 2011 10:44:09 AM
Subject: Re: Highlighting with/without Term Vectors
On Jan 24, 2011, at 2:42 PM, Salman Akram wrote:
Hi,
Does anyone have any benchmarks how much
to be reanalyzed for
highlighting purposes, so follow Grant's advice, make a small index without TV,
and compare highlighting speed with and without TV.
Otis
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/
- Original Message
On Jan 24, 2011, at 2:42 PM, Salman Akram wrote:
Hi,
Does anyone have any benchmarks how much highlighting speeds up with Term
Vectors (compared to without it)? e.g. if highlighting on 20 documents take
1 sec with Term Vectors any idea how long it will take without them?
I need to know
Anyone?
On Tue, Jan 25, 2011 at 12:57 AM, Salman Akram
salman.ak...@northbaysolutions.net wrote:
Just to add one thing, in case it makes a difference.
Max document size on which highlighting needs to be done is few hundred
kb's (in file system). In index its compressed so should be much
Just to add one thing, in case it makes a difference.
Max document size on which highlighting needs to be done is few hundred kb's
(in file system). In index its compressed so should be much smaller. Total
documents are more than 100 million.
On Tue, Jan 25, 2011 at 12:42 AM, Salman Akram
Hasnain,
there is no need for any _additional_ looping? Of course, you have to loop
over initially, to get the results - but this should be enough.
use result/doc/[@name=id] to check if lst[@name=highlighting]/lst[@name=$id]
exists, and if so .. replace the original content w/ the highlighted
In Solr admin advance search page the highlighted text is not displayed
correctly for Arabic characters!
I'm using Solr Trunk 2011-01-10 ….
It use to be working in solr 1.4.1.
Does anybody knows why?
Hi all,
Im looking into solr's highlighting component, as far as I understood,
solr's response.getHighlighting() gives back formatted string along with id,
then we have to loop through the searched documents and search for id and
then replace the formatted string. This approach
that is much difficult to tackle.
Regards
Ahsan
From: Otis Gospodnetic otis_gospodne...@yahoo.com
To: solr-user@lucene.apache.org
Sent: Tue, January 18, 2011 12:25:12 PM
Subject: Re: Not storing, but highlighting from document sentences
Hi Tarjei,
:)
Yeah
On 01/12/2011 12:02 PM, Otis Gospodnetic wrote:
Hello,
I'm indexing some content (articles) whose text I cannot store in its
original
form for copyright reason. So I can index the content, but cannot store it.
However, I need snippets and search term highlighting.
Any way
Sent: Tue, January 18, 2011 1:33:44 AM
Subject: Re: Not storing, but highlighting from document sentences
On 01/12/2011 12:02 PM, Otis Gospodnetic wrote:
Hello,
I'm indexing some content (articles) whose text I cannot store in its
original
form for copyright reason. So I can index
Hello,
I'm indexing some content (articles) whose text I cannot store in its original
form for copyright reason. So I can index the content, but cannot store it.
However, I need snippets and search term highlighting.
Any way to accomplish this elegantly? Or even not so elegantly?
Here
and search term highlighting.
Any way to accomplish this elegantly? Or even not so elegantly?
Here is one idea:
* Create 2 indices: main index for indexing (but not storing) the original
content, the secondary index for storing individual sentences from the
original
article
match original articles even if foo and bar are in different
sentences.
Otis
- Original Message
From: Stefan Matheis matheis.ste...@googlemail.com
To: solr-user@lucene.apache.org
Sent: Wed, January 12, 2011 7:02:46 AM
Subject: Re: Not storing, but highlighting from document
[mailto:otis_gospodne...@yahoo.com]
Sent: Wednesday, January 12, 2011 7:29 AM
To: solr-user@lucene.apache.org
Subject: Re: Not storing, but highlighting from document sentences
Hi Stefan,
Yes, splitting in separate sentences (and storing them) is OK because with
a
bunch of sentences you can't really
Hi Steve,
- Original Message
From: Steven A Rowe sar...@syr.edu
Subject: RE: Not storing, but highlighting from document sentences
I think you can get what you want by doing the first stage retrieval, and
then
in the second stage, add required constraint(s) to the query
stage's hit from the intermixed second stage results...
Steve
-Original Message-
From: Otis Gospodnetic [mailto:otis_gospodne...@yahoo.com]
Sent: Wednesday, January 12, 2011 7:29 AM
To: solr-user@lucene.apache.org
Subject: Re: Not storing, but highlighting from document sentences
Hi
I think you can get what you want by doing the first stage retrieval,
and then in the second stage, add required constraint(s) to the query
for the matching docid(s), and change the AND operators in the
original query to OR. Coordination will cause the best snippet(s) to
rise to the
Hi Tomislav,
if I understand correctly, you are suggesting query execution in two
phases: first execute query on whole article index core (where whole
articles are indexed, but not stored) to get article IDs (for articles
which match original query). Then for each match in article core:
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
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
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?
On Mon, Jan 10, 2011 at 6:48 PM, Ahmet Arslan iori...@yahoo.com 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
On Mon, Jan 10, 2011 at 6:51 PM, Ahmet Arslan iori...@yahoo.com 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
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 span either in
On Mon, Jan 10, 2011 at 9:19 PM, Ahmet Arslan iori...@yahoo.com 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
701 - 800 of 1278 matches
Mail list logo