Highlighting map use unique key field?

2011-06-20 Thread Simon, Richard T
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

Solr Highlighting and fqs

2011-06-17 Thread Jamie Johnson
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

Re: Solr Highlighting and fqs

2011-06-17 Thread Jan Høydahl
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

Re: Solr Highlighting and fqs

2011-06-17 Thread Jamie Johnson
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

Encoding of alternate fields in highlighting

2011-06-16 Thread Massimo Schiavon
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

Re: Encoding of alternate fields in highlighting

2011-06-16 Thread Koji Sekiguchi
(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

Re: Does MultiTerm highlighting work with the fastVectorHighlighter?

2011-06-09 Thread Koji Sekiguchi
(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

RE: Does MultiTerm highlighting work with the fastVectorHighlighter?

2011-06-09 Thread Burton-West, Tom
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

Re: Does MultiTerm highlighting work with the fastVectorHighlighter?

2011-06-09 Thread Koji Sekiguchi
MultiTerm highlighting? Tom, I'm sorry but FVH doesn't cover MultiTermQuery. koji -- http://www.rondhuit.com/en/

Does MultiTerm highlighting work with the fastVectorHighlighter?

2011-06-08 Thread Burton-West, Tom
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

Re: Does MultiTerm highlighting work with the fastVectorHighlighter?

2011-06-08 Thread Erick Erickson
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

RE: Does MultiTerm highlighting work with the fastVectorHighlighter?

2011-06-08 Thread Burton-West, Tom
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

Re: highlighting in multiValued field

2011-05-28 Thread Jeffrey Chang
...@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

Re: highlighting in multiValued field

2011-05-27 Thread Jeffrey Chang
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

highlighting in multiValued field

2011-05-26 Thread Jeffrey Chang
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

RE: highlighting in multiValued field

2011-05-26 Thread Bob Sandiford
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

RE: highlighting in multiValued field

2011-05-26 Thread Bob Sandiford
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

Highlighting in solr

2011-05-24 Thread Vignesh Raj
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

Re: Highlighting in solr

2011-05-24 Thread Darren Govoni
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

custom highlighting

2011-05-24 Thread dan sutton
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

Re: Highlighting does not work when using !boost as a nested query

2011-05-19 Thread Juan Antonio Farré Basurte
). 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

Re: Highlighting does not work when using !boost as a nested query

2011-05-19 Thread Juan Antonio Farré Basurte
=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

I need to improve highlighting

2011-05-18 Thread bryan rasmussen
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

Re: I need to improve highlighting

2011-05-18 Thread Stefan Matheis
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

Re: I need to improve highlighting

2011-05-18 Thread bryan rasmussen
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

Re: I need to improve highlighting

2011-05-18 Thread Erick Erickson
. 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

Re: I need to improve highlighting

2011-05-18 Thread bryan rasmussen
/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

RE: Highlighting issue with Solr 3.1

2011-05-17 Thread Nemani, Raj
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

Highlighting issue with Solr 3.1

2011-05-16 Thread Nemani, Raj
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

Re: Highlighting issue with Solr 3.1

2011-05-16 Thread Koji Sekiguchi
(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

Re: Solr 1.3 highlighting problem

2011-05-10 Thread Grijesh
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

Re: Solr 1.3 highlighting problem

2011-05-10 Thread nicksnels1
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

Re: Solr 1.3 highlighting problem

2011-05-10 Thread Markus Jelsma
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

Re: Solr 1.3 highlighting problem

2011-05-10 Thread Grijesh
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.

Re: Solr 1.3 highlighting problem

2011-05-10 Thread nicksnels1
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

Solr 1.3 highlighting problem

2011-05-09 Thread nicksnels1
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

Re: Solr 1.3 highlighting problem

2011-05-09 Thread Grijesh
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

Re: Solr 1.3 highlighting problem

2011-05-09 Thread nicksnels1
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.

Highlighting does not work when using !boost as a nested query

2011-05-08 Thread Juan Antonio Farré Basurte
=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

Re: Highlighting words with non-ascii chars

2011-05-05 Thread Pavel Kukačka
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

Re: Highlighting words with non-ascii chars

2011-05-02 Thread Peter Wolanin
, 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

Highlighting words with non-ascii chars

2011-04-30 Thread Pavel Kukačka
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

Re: Highlighting words with non-ascii chars

2011-04-30 Thread Ahmet Arslan
-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

Re: Highlighting words with non-ascii chars

2011-04-30 Thread Pavel Kukačka
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

RE: Solr - Multi Term highlighting issue

2011-04-25 Thread Ramanathapuram, Rajesh
. 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

RE: Solr - Multi Term highlighting issue

2011-04-23 Thread Ramanathapuram, Rajesh
@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

RE: Solr - Multi Term highlighting issue

2011-04-23 Thread Ramanathapuram, Rajesh
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

2011-04-23 Thread Koji Sekiguchi
: 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

RE: Solr - Multi Term highlighting issue

2011-04-23 Thread Ramanathapuram, Rajesh
] 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

Re: Solr - Multi Term highlighting issue

2011-04-23 Thread Koji Sekiguchi
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

RE: Solr - Multi Term highlighting issue

2011-04-23 Thread Ramanathapuram, Rajesh
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

Re: Solr - Multi Term highlighting issue

2011-04-23 Thread Robert Muir
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

Re: Solr - Multi Term highlighting issue

2011-04-23 Thread Ramanathapuram, Rajesh
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

RE: Solr - Multi Term highlighting issue

2011-04-22 Thread Ramanathapuram, Rajesh
@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

Re: Solr - Multi Term highlighting issue

2011-04-22 Thread Koji Sekiguchi
- 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

Re: HTMLStripCharFilterFactory, highlighting and InvalidTokenOffsetsException

2011-04-21 Thread Robert Gründler
-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

Re: HTMLStripCharFilterFactory, highlighting and InvalidTokenOffsetsException

2011-04-21 Thread Erick Erickson
. 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

Solr - Multi Term highlighting issue

2011-04-20 Thread Ramanathapuram, Rajesh
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

Re: Solr - Multi Term highlighting issue

2011-04-20 Thread Erick Erickson
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

HTMLStripCharFilterFactory, highlighting and InvalidTokenOffsetsException

2011-04-20 Thread Robert Gründler
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

Re: HTMLStripCharFilterFactory, highlighting and InvalidTokenOffsetsException

2011-04-20 Thread Robert Muir
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

RE: Solr - Multi Term highlighting issue

2011-04-20 Thread Ramanathapuram, Rajesh
-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

Highlighting not working

2011-04-07 Thread Tom Mortimer
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

Re: Highlighting not working

2011-04-07 Thread Tom Mortimer
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

Re: Highlighting not working

2011-04-07 Thread Ahmet Arslan
I guess what I'm asking is - can Solr highlight non-indexed fields? http://wiki.apache.org/solr/FieldOptionsByUseCase

Re: Highlighting not working

2011-04-07 Thread Tom Mortimer
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

Highlighting and custom fragmenting

2011-04-07 Thread dan sutton
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

RE: Highlighting Problem

2011-03-29 Thread Pierre GOSSE
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

Highlighting problem

2011-03-29 Thread Stefan Mueller
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

Re: Highlighting problem

2011-03-29 Thread Stefan Matheis
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

Highlighting Problem

2011-03-28 Thread pottwal1
. 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

Re: Full text hit term highlighting

2011-03-18 Thread lboutros
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

Re: Question About Highlighting

2011-02-22 Thread Ahsan |qbal
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

Re: Highlighting with/without Term Vectors

2011-02-05 Thread Salman Akram
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

Re: Highlighting with/without Term Vectors

2011-02-04 Thread Otis Gospodnetic
/ - 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

Re: Highlighting with/without Term Vectors

2011-02-04 Thread Otis Gospodnetic
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

Re: Highlighting with/without Term Vectors

2011-01-26 Thread Grant Ingersoll
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

Re: Highlighting with/without Term Vectors

2011-01-25 Thread Salman Akram
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

Re: Highlighting with/without Term Vectors

2011-01-24 Thread Salman Akram
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

Re: Highlighting approach.

2011-01-20 Thread Stefan Matheis
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

Highlighting default encoder

2011-01-19 Thread Darx Oman
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?

Highlighting approach.

2011-01-19 Thread Hasnain
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

Re: Not storing, but highlighting from document sentences

2011-01-18 Thread Ahson Iqbal
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

Re: Not storing, but highlighting from document sentences

2011-01-17 Thread Tarjei Huse
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

Re: Not storing, but highlighting from document sentences

2011-01-17 Thread Otis Gospodnetic
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

Not storing, but highlighting from document sentences

2011-01-12 Thread Otis Gospodnetic
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

Re: Not storing, but highlighting from document sentences

2011-01-12 Thread Stefan Matheis
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

Re: Not storing, but highlighting from document sentences

2011-01-12 Thread Otis Gospodnetic
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

RE: Not storing, but highlighting from document sentences

2011-01-12 Thread Steven A Rowe
[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

Re: Not storing, but highlighting from document sentences

2011-01-12 Thread Otis Gospodnetic
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

Re: Not storing, but highlighting from document sentences

2011-01-12 Thread Tomislav Poljak
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

RE: Not storing, but highlighting from document sentences

2011-01-12 Thread Steven A Rowe
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

RE: Not storing, but highlighting from document sentences

2011-01-12 Thread Steven A Rowe
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:

Solr highlighting is botching output

2011-01-10 Thread Dan Loewenherz
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

Re: Solr highlighting is botching output

2011-01-10 Thread Ahmet Arslan
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

Re: Solr highlighting is botching output

2011-01-10 Thread Ahmet Arslan
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?

Re: Solr highlighting is botching output

2011-01-10 Thread Dan Loewenherz
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

Re: Solr highlighting is botching output

2011-01-10 Thread Dan Loewenherz
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

Re: Solr highlighting is botching output

2011-01-10 Thread Ahmet Arslan
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

Re: Solr highlighting is botching output

2011-01-10 Thread Dan Loewenherz
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

<    3   4   5   6   7   8   9   10   11   12   >