Re: Highlighting in 3.5?

2012-01-02 Thread Juan Grande
semantics indicate not searching on text_t even though highlighting is enabled. Is this correct behavior? it produces unwanted highlight results. I would expect Solr to know what fields are participating in the query and only highlight those that are involved in the result set. Thanks, Darren

Re: Highlighting in 3.5?

2012-01-02 Thread Darren Govoni
Hi Juan, Setting that parameter produces the same extraneous results. Here is my query: {!lucene q.op=OR df=text_t} kind_s:doc AND (( field_t:[* TO *] )) Clearly, the default field (text_t) is not being searched by this query and highlighting it would be semantically incongruent

Re: Highlighting in 3.5?

2012-01-02 Thread Darren Govoni
=OR df=text_t} kind_s:doc AND (( field_t:[* TO *] )) Clearly, the default field (text_t) is not being searched by this query and highlighting it would be semantically incongruent with the query. Is it a bug? Darren On 01/02/2012 04:39 PM, Juan Grande wrote: Hi Darren, This is the expected

Re: Highlighting with prefix queries and maxBooleanClause

2012-01-02 Thread Erick Erickson
that this problem is bigger than just the q=* search. I think my solution when this error is thrown is going to be to bump the size of the maxBooleanClause and retry the query. Failing that, I'll have to retry the query with highlighting off. I suspect this will go away if you use the correct

Re: Highlighting with prefix queries and maxBooleanClause

2012-01-01 Thread Erick Erickson
This may be the impetus for Hoss creating SOLR-2996. I suspect this will go away if you use the correct match-all-docs syntax, i.e. q=*:* rather than q=* Hoss' suggestion in 2996 is to do the right thing with q=*, but for now you need to use the right syntax. But I'm not sure what highlighting

Re: Highlighting with prefix queries and maxBooleanClause

2012-01-01 Thread Michael Lissner
read so far, I'm fairly certain that this problem is bigger than just the q=* search. I think my solution when this error is thrown is going to be to bump the size of the maxBooleanClause and retry the query. Failing that, I'll have to retry the query with highlighting off. I suspect

Re: reposting highlighting questions

2011-12-30 Thread Chris Hostetter
: I am new to solr/xml/xslt, and trying to figure out how to display : search query fields highlighted in html. I can enable the highlighting : in the query, and I think I get the correct xml response back (See : below: I search using 'Contents' and the highlighting is shown with : strong

Highlighting with prefix queries and maxBooleanClause

2011-12-30 Thread Michael Lissner
This question has come up a few times, but I've yet to see a good solution. Basically, if I have highlighting turned on and do a query for q=*, I get an error that maxBooleanClauses has been exceeded. Granted, this is a silly query, but a user might do something similar. My expectation

Re: Solr 3.5 | Highlighting

2011-12-22 Thread Tanguy Moal
Le 21/12/2011 23:49, Koji Sekiguchi a écrit : (11/12/21 22:28), Tanguy Moal wrote: Dear all, [...] I tried using both legacy highlighter and FVH but the same issue occurs. The issue only triggers when relying on hl.q. Thank you very much for any help, -- Tanguy Tanguy, Thank you for

Solr 3.5 | Highlighting

2011-12-21 Thread Tanguy Moal
Dear all, I'm try to get highlighting working, and I'm almost done, but that's not perfect yet... Basically my documents have a title and a description. I have two kind of text fields : text : fieldType name=text class=solr.TextField positionIncrementGap=100 analyzer type=index tokenizer

Re: Solr 3.5 | Highlighting

2011-12-21 Thread Koji Sekiguchi
(11/12/21 22:28), Tanguy Moal wrote: Dear all, I'm try to get highlighting working, and I'm almost done, but that's not perfect yet... Basically my documents have a title and a description. I have two kind of text fields : text : fieldType name=text class=solr.TextField positionIncrementGap

Re: Highlighting uses lots of memory and eventually slows down Solr

2011-12-19 Thread Pranav Prakash
No respinse !! Bumping it up *Pranav Prakash* temet nosce Twitter http://twitter.com/pranavprakash | Blog http://blog.myblive.com | Google http://www.google.com/profiles/pranny On Fri, Dec 9, 2011 at 14:11, Pranav Prakash pra...@gmail.com wrote: Hi Group, I would like to have highlighting

RE: Highlighter highlighting terms which are not part of the search

2011-12-15 Thread Shyam Bhaskaran
with highlighting. Some unwanted terms which are not part of the search are getting highlighted. This issue has come up after using the latest Solr4.0 trunk, earlier the search and highlighting was working fine. Looks like some issue with SynonymFilterFactory. -Shyam -Original Message- From

Re: Highlighter highlighting terms which are not part of the search

2011-12-13 Thread Erick Erickson
behavior with highlighting which was not seen earlier. When a search query for example generate test pattern is passed in the results et obtained the first few results shows the highlighting properly but in the later results we see terms which were not part of the search like Question, Answer

reposting highlighting questions

2011-12-13 Thread Bent Jensen
I am new to solr/xml/xslt, and trying to figure out how to display search query fields highlighted in html. I can enable the highlighting in the query, and I think I get the correct xml response back (See below: I search using 'Contents' and the highlighting is shown with strong and /strong

Re: highlighting questions

2011-12-13 Thread Erick Erickson
idea here is that whatever parses your response has to match the id field in the doc tag with the proper element from the lstname=highlighting element and mix-n-match them. Hope that helps Erick On Mon, Dec 12, 2011 at 8:03 PM, Bent Jensen bentjen...@yahoo.com wrote: I am trying to figure out how

InvalidTokenOffsetsException in conjunction with highlighting and ICU folding and edgeNgrams

2011-12-12 Thread Max
Hi there, when highlighting a field with this definition: fieldType name=name class=solr.TextField positionIncrementGap=100 analyzer type=index charFilter class=solr.HTMLStripCharFilterFactory/ tokenizer class=solr.WhitespaceTokenizerFactory

Re: InvalidTokenOffsetsException in conjunction with highlighting and ICU folding and edgeNgrams

2011-12-12 Thread Robert Muir
On Mon, Dec 12, 2011 at 5:18 AM, Max nas...@gmail.com wrote: The end offset remains 11 even after folding and transforming æ to ae, which seems wrong to me. End offsets refer to the *original text* so this is correct. What is wrong, is EdgeNGramsFilter. See how it turns that 11 to a 12? I

Re: InvalidTokenOffsetsException in conjunction with highlighting and ICU folding and edgeNgrams

2011-12-12 Thread Robert Muir
On Mon, Dec 12, 2011 at 5:18 AM, Max nas...@gmail.com wrote: It seems like there is some weird stuff going on when folding the string, it can be seen in the analysis view, too: http://i.imgur.com/6B2Uh.png I created a bug here, https://issues.apache.org/jira/browse/LUCENE-3642 Thanks for

Re: InvalidTokenOffsetsException in conjunction with highlighting and ICU folding and edgeNgrams

2011-12-12 Thread Max
Robert, thank you for creating the issue in JIRA. However, I need ngrams on that field – is there an alternative to the EdgeNGramFilterFactory ? Thanks! On Mon, Dec 12, 2011 at 1:25 PM, Robert Muir rcm...@gmail.com wrote: On Mon, Dec 12, 2011 at 5:18 AM, Max nas...@gmail.com wrote: It seems

highlighting questions

2011-12-12 Thread Bent Jensen
I am trying to figure out how to display search query fields highlighted in html. I can enable the highlighting in the query, and I think I get the correct response back (See below: I search using 'Contents' and the highlighting is shown with strong and /strong. However, I can't figure out

Highlighter highlighting terms which are not part of the search

2011-12-11 Thread Shyam Bhaskaran
Hi We recently upgraded our Solr to the latest 4.0 trunk and we are seeing a weird behavior with highlighting which was not seen earlier. When a search query for example generate test pattern is passed in the results et obtained the first few results shows the highlighting properly

Highlighting uses lots of memory and eventually slows down Solr

2011-12-09 Thread Pranav Prakash
Hi Group, I would like to have highlighting for search and I have the fields indexed with the following schema (Solr 3.4) fieldType name=text_commongrams class=solr.TextField analyzer charFilter class=solr.HTMLStripCharFilterFactory/ tokenizer class=solr.StandardTokenizerFactory/ filter class

Highlighting to include stop words

2011-12-08 Thread Robert Brown
took of out of the stops words for the query analyser and it now matches front-of-house but I know there's better matches stored as front of house (without the hyphens) that are ranked much lower. Is there any quick way to have the highlighting applied to the entire phrase that was searched

Re: InvalidTokenOffsetsException when using MappingCharFilterFactory, DictionaryCompoundWordTokenFilterFactory and Highlighting

2011-11-30 Thread Jay Luker
I am having a similar issue with OffsetExceptions during highlighting. In all of the explanations and bug reports I'm reading there is a mention this is all the result of a problem with HTMLStripCharFilter. But my analysis chains don't (that I'm aware of) make use of HTMLStripCharFilter, so can

Re: highlighting on range query

2011-11-28 Thread Rahul Mehta
}, { lily.id:UUID.d92b405d-f41e-4c85-9014-1b89a986ec42, rangefld:5783}, { lily.id:UUID.102adde5-cbff-4ca6-acb1-426bb14fb579, rangefld:5753}] }, highlighting:{ UUID.c5f00cd3-343a-47c1-ab16-ace104b2540f:{}, UUID.ed69ece0-1b24-4829-afb6-22eb242939f2

Re: highlighting on range query

2011-11-28 Thread Ahmet Arslan
and output is {   responseHeader:{     status:0,     QTime:4,     params:{       hl.highlightMultiTerm:true,       fl:lily.id,rangefld,       indent:on,       hl.useFastVectorHighlighter:false,        q:rangefld:[5000 TO 6000],       hl.fl:*,rangefld, I don't think hl.fl parameter

Re: highlighting on range query

2011-11-28 Thread Rahul Mehta
Tried below url and got the same output. Any other suggestion . http://localhost:8983/solr/select?q=rangefld:[5000%20TO%206000]fl=lily.id,rangefldhl=onrows=5wt=jsonindent=onhl.fl=rangefldhl.highlightMultiTerm=truehl.usePhraseHighlighter=truehl.useFastVectorHighlighter=false On Mon, Nov 28, 2011

Re: highlighting on range query

2011-11-27 Thread Ahmet Arslan
Any other Suggestion. as these suggestions are not working. Could it be that you are using FastVectorHighlighter? What happens when you add hl.useFastVectorHighlighter=false to your search URL?

Re: highlighting performance poor with *.tar, *.gz files

2011-11-25 Thread Erick Erickson
Highlighting is dependent on the size of the data being fed through the highlighter. Unless you have termVectors offsets positions enabled, the text must be re-analyzed, see: http://wiki.apache.org/solr/FieldOptionsByUseCase?highlight=%28termvector%29%7C%28retrieve%29%7C%28contents%29

highlighting on range query

2011-11-24 Thread Rahul Mehta
Hello, I want to have result of a range query with highlighted Result. e.g. i have this query http://localhsot:8983/solr/select?q=field1:[5000%20TO%206000]fl=field2hl=onrows=5wt=jsonindent=onhl.fl=field3 is not giving any result in hightliting. Please suggest how can i get the result? --

Re: highlighting on range query

2011-11-24 Thread Ahmet Arslan
I want to have result of a range query with highlighted Result. http://wiki.apache.org/solr/HighlightingParameters#hl.highlightMultiTerm

Re: highlighting on range query

2011-11-24 Thread Rahul Mehta
Hi Ahmet, I passed hl.highlightMultiTerm=true in request ,* but still field1 is not coming in hightlighting.* http://localhsot:8983/solr/select?q=field1:[5000%20TO%206000]fl=field2hl=onrows=5wt=jsonindent=onhl.fl=field3hl.highlightMultiTerm=true I am using solr 3.1. is i need to install the

Re: highlighting on range query

2011-11-24 Thread Ahmet Arslan
I passed hl.highlightMultiTerm=true in request ,* but still field1 is not coming in hightlighting.* http://localhsot:8983/solr/select?q=field1:[5000%20TO%206000]fl=field2hl=onrows=5wt=jsonindent=onhl.fl=field3hl.highlightMultiTerm=true As wiki says If the SpanScorer is also being used...

Re: highlighting on range query

2011-11-24 Thread Rahul Mehta
oh sorry forgot to tell you that i added hl.usePhraseHighlighter=true this also , but still no result is coming . On Thu, Nov 24, 2011 at 5:14 PM, Ahmet Arslan iori...@yahoo.com wrote: I passed hl.highlightMultiTerm=true in request ,* but still field1 is not coming in hightlighting.*

Re: highlighting on range query

2011-11-24 Thread Ahmet Arslan
oh sorry forgot to tell you that i added hl.usePhraseHighlighter=true this also , but still no result is coming . Did you specify field1 in hl.fl parameter? Plus you need you mark field1 as indexed=true and stored=true to enable highlighting. http://wiki.apache.org/solr

Re: highlighting on range query

2011-11-24 Thread Rahul Mehta
in hl.fl parameter? Plus you need you mark field1 as indexed=true and stored=true to enable highlighting. http://wiki.apache.org/solr/FieldOptionsByUseCase -- Thanks Regards Rahul Mehta

Re: highlighting on range query

2011-11-24 Thread Rahul Mehta
hl.usePhraseHighlighter=true this also , but still no result is coming . Did you specify field1 in hl.fl parameter? Plus you need you mark field1 as indexed=true and stored=true to enable highlighting. http://wiki.apache.org/solr/FieldOptionsByUseCase -- Thanks Regards Rahul Mehta

highlighting performance poor with *.tar, *.gz files

2011-11-24 Thread Shyam Bhaskaran
Hi, It is observed that highlighting of search results is taking too much time especially for highlighting terms for archived files like *.gz, *.tar, *.zip. What could be the reason behind it ? Is it because these files are unzipped and then highlighted from the index during display time

Highlighting too much, indexing not seeing commas?

2011-11-23 Thread Robert Brown
Solr 3.3.0 I have a field/type indexed as below. For a particular document the content of this field is 'FreeBSD,Perl,Linux,Unix,SQL,MySQL,Exim,Postgresql,Apache,Exim' Using eDismax, mm=1 When I query for... +perl +(apache sql) +(linux unix) Strangely, the highlighting is being returned

Solr highlighting isn't work!

2011-11-22 Thread VladislavLysov
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=standardq=TYPE: https://localhost:8443/solr/myCore/afts?wt=standardq=TYPE:cm:contentindent=onhl=truehl.fl

Re: Solr highlighting isn't work!

2011-11-22 Thread Koji Sekiguchi
(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=standardq=TYPE: https://localhost:8443/solr/myCore/afts?wt=standardq

Re: Solr highlighting isn't work!

2011-11-22 Thread VladislavLysov
/0.1}label.__:{en}label1;': Encountered } } at line 1, column 54. Was expecting one of: TO ... RANGEEX_QUOTED ... RANGEEX_GOOP ... -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-highlighting-isn-t-work-tp3527701p3530016.html Sent from the Solr - User mailing list

Re: Highlighting apostrophe

2011-11-17 Thread rychu
Hi, have you found the solution to your highlighting apostrophe problem? -- View this message in context: http://lucene.472066.n3.nabble.com/Highlighting-apostrophe-tp731155p3515139.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Highlighting with a default copy field with EdgeNGramFilterFactory

2011-11-17 Thread João Nelas
I found out the solution! I needed to also add an EdgeNGramFilterFactory to the fields that are the source of the copyField. That got the highlighting working again. -- View this message in context: http://lucene.472066.n3.nabble.com/Highlighting-with-a-default-copy-field

Highlighting and regex

2011-11-17 Thread Peter Sturge
Hi, Been wrestling with a question on highlighting (or not) - perhaps someone can help? The question is this: Is it possible, using highlighting or perhaps another more suited component, to return words/tokens from a stored field based on a regular expression's capture groups? What I was kind

Highlighting with a default copy field with EdgeNGramFilterFactory

2011-11-15 Thread João Nelas
! But now I would like to insert an EdgeNGramFilterFactory on that field, so that I can instead do q=sas without the wildcard. When I do that, I get the match but no highlights. Is there something different that I need to do to get highlighting? -- View this message in context: http://lucene.472066

Re: InvalidTokenOffsetsException when using MappingCharFilterFactory, DictionaryCompoundWordTokenFilterFactory and Highlighting

2011-11-11 Thread Vadim Kisselmann
Hi Edwin, Chris it´s an old bug. I have big problems too with OffsetExceptions when i use Highlighting, or Carrot. It looks like a problem with HTMLStripCharFilter. Patch doesn´t work. https://issues.apache.org/jira/browse/LUCENE-2208 Regards Vadim 2011/11/11 Edwin Steiner edwin.stei

Highlighting is not working for wildcard searches when TermVectors (hl.useFastVectorHighlighter) is enabled

2011-11-11 Thread Shyam Bhaskaran
Hi, Highlighting is not working for wildcard searches when TermVectors (hl.useFastVectorHighlighter) is enabled. I wanted to use FastVectorHighlighter to improve the performance of search results but when hl.useFastVectorHighlighter is enabled highlighting does not work in case of wildcard

Re: InvalidTokenOffsetsException when using MappingCharFilterFactory, DictionaryCompoundWordTokenFilterFactory and Highlighting

2011-11-10 Thread Edwin Steiner
I just entered a bug: https://issues.apache.org/jira/browse/SOLR-2891 Thanks regards, Edwin On Nov 7, 2011, at 8:47 PM, Chris Hostetter wrote: : finally I want to use Solr highlighting. But there seems to be a problem : if I combine the char filter and the compound word filter

Re: InvalidTokenOffsetsException when using MappingCharFilterFactory, DictionaryCompoundWordTokenFilterFactory and Highlighting

2011-11-07 Thread Chris Hostetter
: finally I want to use Solr highlighting. But there seems to be a problem : if I combine the char filter and the compound word filter in combination : with highlighting (an : org.apache.lucene.search.highlight.InvalidTokenOffsetsException is : raised). Definitely sounds like a bug somwhere

InvalidTokenOffsetsException when using MappingCharFilterFactory, DictionaryCompoundWordTokenFilterFactory and Highlighting

2011-11-06 Thread Edwin Steiner
the solr.DictionaryCompoundWordTokenFilterFactory to find words which are part of compound words (e.g. revision in totalrevision). And finally I want to use Solr highlighting. But there seems to be a problem if I combine the char filter and the compound word filter in combination with highlighting

Re: Highlighting text field when query is for string field

2011-11-04 Thread Erick Erickson
Try this with debugQuery=on. I suspect you're not getting the query you think you are and I'd straighten that out before worrying about highlighting. Usually, for instance, AND should be capitalized to be an operator. So try with debugQuery=on and see what happens. The highlighter, I believe

InvalidTokenOffsetsException when using MappingCharFilterFactory, DictionaryCompoundWordTokenFilterFactory and Highlighting

2011-11-04 Thread Edwin Steiner
the solr.DictionaryCompoundWordTokenFilterFactory to find words which are part of compound words (e.g. revision in totalrevision). And finally I want to use Solr highlighting. But there seems to be a problem if I combine the char filter and the compound word filter in combination with highlighting

Highlighting text field when query is for string field

2011-11-02 Thread solrdude
I have situation where I need to highlight matching phrases in text field where as query is against string field. Its not highlighting now, may be because in text field they are all terms and hence not a match for phrase. How do i do it? With hl.alternateField, it identifies those things

Re: LocalParams, bq, and highlighting

2011-11-01 Thread Demian Katz
This is definitely an interesting case that i don't think anyone ever really considered before. It seems like a strong argument in favor of adding an hl.q param that the HighlightingComponent would use as an override for whatever the QueryComponent thinks the highlighting query should

Re: Highlighting misses some characters

2011-10-21 Thread Dirceu Vieira
(the size of the token is configurable). If you're not using that my second guess is that the term is being truncated somehow. If you could provide some more info about this case it would be better On Fri, Oct 21, 2011 at 4:49 AM, docmattman mattpale...@live.com wrote: I have highlighting

Re: Highlighting misses some characters

2011-10-21 Thread docmattman
, someone else built the system and now I'm in charge of getting it running correctly. -- View this message in context: http://lucene.472066.n3.nabble.com/Highlighting-misses-some-characters-tp3439778p3440995.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Highlighting misses some characters

2011-10-21 Thread Dirceu Vieira
/Highlighting-misses-some-characters-tp3439778p3440995.html Sent from the Solr - User mailing list archive at Nabble.com. -- Dirceu Vieira Júnior --- +47 9753 2473 dirceuvjr.blogspot.com twitter.com/dirceuvjr

Highlighting misses some characters

2011-10-20 Thread docmattman
I have highlighting on in query. If I do a search for Apple, it will highlight Appl. If I do a search for deleted it will highlight delet, agreed will highlight agre. How can I get it to highlight the full term that I'm searching for and not leave off certain letters? I'm pretty new to Solr

Re: In-document highlighting DocValues?

2011-10-16 Thread Michael Sokolov
? Jan I've looked into this, and I believe the slowness of Highlighter doesn't have to do with constructing the snippets as much as with the analysis that is required to find the locations of matching terms in the document text, so I think your problem is basically the same as highlighting

Re: In-document highlighting DocValues?

2011-10-14 Thread Jan Høydahl
tokens that really contribute to the search match. You might also be interested in LUCENE-2878 (which is still under development on a branch though). It aims to provide first-class access to payloads and positions during scoring, and this will be very useful for complex highlighting tasks

Re: LocalParams, bq, and highlighting

2011-09-28 Thread Chris Hostetter
for the highlight query to extract terms from for highlighting. With a request like this... http://localhost:8983/solr/select?defType=dismaxq=solrhl=truefl=namehl.fl=namebq=server ...DismaxQParser is the default query parser, and because of how it is designed to work (and designed to be used

LocalParams, bq, and highlighting

2011-09-21 Thread Demian Katz
are two searches that yield identical results but different highlighting behaviors: http://localhost:8080/solr/biblio/select/?q=johnrows=20start=0indent=yesqf=author^100qt=dismaxbq=author%3Asmith^1000fl=scorehl=truehl.fl=* http://localhost:8080/solr/biblio/select/?q=%28%28_query_%3A%22{!dismax

Re: solr 1.4 highlighting issue

2011-09-15 Thread Dmitry Kan
, 2011 at 2:20 PM, Koji Sekiguchi k...@r.email.ne.jp wrote: (11/09/14 15:54), Dmitry Kan wrote: Hello list, Not sure how many of you are still using solr 1.4 in production, but here is an issue with highlighting, that we've noticed: The query is: (drill AND ships) OR rigs Excerpt from

Re: solr 1.4 highlighting issue

2011-09-15 Thread Dmitry Kan
with highlighting, that we've noticed: The query is: (drill AND ships) OR rigs Excerpt from the highlighting list: arr name=Contents str Within the fleet of 27 floatinglt;emrigslt;/em (semisubmersibles and drillships) are 21 deepwaterlt;emdrillinglt;/**em /str /arr /lst Why did solr

solr 1.4 highlighting issue

2011-09-14 Thread Dmitry Kan
Hello list, Not sure how many of you are still using solr 1.4 in production, but here is an issue with highlighting, that we've noticed: The query is: (drill AND ships) OR rigs Excerpt from the highlighting list: arr name=Contents str Within the fleet of 27 floating lt;emrigslt;/em

Re: solr 1.4 highlighting issue

2011-09-14 Thread Michael Sokolov
list, Not sure how many of you are still using solr 1.4 in production, but here is an issue with highlighting, that we've noticed: The query is: (drill AND ships) OR rigs Excerpt from the highlighting list: arr name=Contents str Within the fleet of 27 floatinglt;emrigslt;/em

Re: solr 1.4 highlighting issue

2011-09-14 Thread Koji Sekiguchi
(11/09/14 15:54), Dmitry Kan wrote: Hello list, Not sure how many of you are still using solr 1.4 in production, but here is an issue with highlighting, that we've noticed: The query is: (drill AND ships) OR rigs Excerpt from the highlighting list: arr name=Contents str Within the fleet

Re: how to do sorting on no. of highlighting in solr

2011-09-08 Thread lboutros
We did something like that for one particular project. Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-do-sorting-on-no-of-highlighting-in-solr-tp3319983p3320688.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: [Q]Solr response passed to remote JsonStore - highlighting properties embed in the response part

2011-09-01 Thread Erick Erickson
.,                handle: 8142,            },        ]    },    highlighting: {        8252: {            description: [                 and emelegant/em design was finely crafted in Japan.            ]        },        8142: {            description: [                This emelegant/em

Re: [Q]Solr response passed to remote JsonStore - highlighting properties embed in the response part

2011-09-01 Thread Chris Hostetter
: *What I want:* to change the output by embedding the highlighting properties : into the response properties, such that the response part looks like: Work along the lines of making this a generally available feature is already in progress on the trunk as part of the psuedo fields work (SOLR

[Q]Solr response passed to remote JsonStore - highlighting properties embed in the response part

2011-08-31 Thread malic
-set round diamonds making it perfect for her to wear to work or the night out., handle: 8142, }, ] }, highlighting: { 8252: { description: [ and emelegant/em design was finely crafted in Japan

Re: Highlighting does not works with uniqueField set

2011-08-17 Thread Chris Hostetter
: I am new to solr. Am facing an issue wherein the highlighting of the : searchresults for matches is not working when I have set a unique field : as: : : uniqueKeyid/uniqueKey : : If this is commented then highlighting starts working. I need to have a : unique field. Could someone please

Invalid Date String for highlighting any date field match

2011-08-15 Thread baronDodd
in context: http://lucene.472066.n3.nabble.com/Invalid-Date-String-for-highlighting-any-date-field-match-tp3255469p3255469.html Sent from the Solr - User mailing list archive at Nabble.com.

Highlighting does not works with uniqueField set

2011-08-03 Thread Anand.Nigam
Hi, I am new to solr. Am facing an issue wherein the highlighting of the searchresults for matches is not working when I have set a unique field as: uniqueKeyid/uniqueKey If this is commented then highlighting starts working. I need to have a unique field. Could someone please explain

Re: slow highlighting because of stemming

2011-08-01 Thread Orosz György
stemming, and what I can see is that a lot of tokens are stemmed for the highlighting. It is the strange part, since I don't understand why does any highlighter need stemming again. Consider that the highlighter needs to match terms from the query with terms from the document, just like search

Spatial Search and Highlighting

2011-08-01 Thread Ralf Musick
Hi, I combined a spatial distance search with a fulltext search as described in http://wiki.apache.org/solr/SpatialSearch#geodist_-_The_distance_function . I'm using solr 3.3 and that works fine. BUT, I want to use highlighting of fulltext query words but that does not work. Before solr

Re: Spatial Search and Highlighting

2011-08-01 Thread Smiley, David W.
-_The_distance_function . I'm using solr 3.3 and that works fine. BUT, I want to use highlighting of fulltext query words but that does not work. Before solr 3.3, I used solr 1.4 with Spatial Search plugin from Jteam and that works fine also with highlighting. After refactoring because of API change I

Re: Spatial Search and Highlighting

2011-08-01 Thread Ralf Musick
highlighting of fulltext query words but that does not work. Before solr 3.3, I used solr 1.4 with Spatial Search plugin from Jteam and that works fine also with highlighting. After refactoring because of API change I miss the highlighting feature. Is that a known issue? Or what is my mistake/ I

Re: Spatial Search and Highlighting

2011-08-01 Thread Smiley, David W.
Ralf, Highlighting (and search relevancy -- the score) is performed on the user query which must be in the q parameter. In your case, I see you placed your geospatial query there and you put your user query into a filter query fq. You have them reversed. You stated that the returning

Re: Spatial Search and Highlighting

2011-08-01 Thread Ralf Musick
Hi David, So that As a temporary workaround for older Solr versions, it's possible to obtain distances by using geodist or geofilt as the only scoring part of the main query and Highlighting do not fit together, right? Ok, than I have to calculate the distance by my own. Thank you very much

Re: Spatial Search and Highlighting

2011-08-01 Thread Bill Bell
I think 4.0 supports fl=geodist() On 8/1/11 3:47 PM, Ralf Musick ra...@gmx.de wrote: Hi David, So that As a temporary workaround for older Solr versions, it's possible to obtain distances by using geodist or geofilt as the only scoring part of the main query and Highlighting do not fit together

Re: slow highlighting because of stemming

2011-07-30 Thread Orosz György
Hi, Thanks for the answer! I am doing some logging about stemming, and what I can see is that a lot of tokens are stemmed for the highlighting. It is the strange part, since I don't understand why does any highlighter need stemming again. Anyway my docments are not really large, just a few

fragsize for highlighting

2011-07-30 Thread Frank Chiu
Hi, I'm setting hl.fragsize = 10 in all my highlighting fragmenters but I'm still getting snippets being returned with 10 characters (I think I'm getting the full text back). I also tried specifying hl.fragsize in the querystring, but the same thing happens. Any idea why fragsize is not getting

Re: slow highlighting because of stemming

2011-07-30 Thread Ahmet Arslan
I am doing some logging about stemming, and what I can see is that a lot of tokens are stemmed for the highlighting. It is the strange part, since I don't understand why does any highlighter need stemming again. Highlighting do re-analyze the text being highlighted. Anyway my docments

Re: fragsize for highlighting

2011-07-30 Thread Ahmet Arslan
Hi, I'm setting hl.fragsize = 10 in all my highlighting fragmenters but I'm still getting snippets being returned with 10 characters (I think I'm getting the full text back).  I also tried specifying hl.fragsize in the querystring, but the same thing happens.  Any idea why fragsize

Re: slow highlighting because of stemming

2011-07-30 Thread Michael Sokolov
On 7/30/2011 3:46 AM, Orosz György wrote: Hi, Thanks for the answer! I am doing some logging about stemming, and what I can see is that a lot of tokens are stemmed for the highlighting. It is the strange part, since I don't understand why does any highlighter need stemming again. Consider

Re: fragsize for highlighting

2011-07-30 Thread Frank Chiu
@@@hl@@@/str str name=hl.simple.post@@@endhl@@@/str str name=fqtype:(Task)/str str name=hlon/str str name=defTypedismax/str str name=rows30/str /lst /lst lst name=highlighting ... str @@@hl@@@some s@@@endhl@@@uper long piece of text. long interesting stuff and text gofish found /str /arr

Re: fragsize for highlighting

2011-07-30 Thread Ahmet Arslan
parameters used. Both defaults defined in solrconfig.xml and the ones in URL. http://wiki.apache.org/solr/CoreQueryParameters#echoParams --- On Sat, 7/30/11, Frank Chiu frank.c...@gmail.com wrote: From: Frank Chiu frank.c...@gmail.com Subject: Re: fragsize for highlighting To: Ahmet Arslan iori

Re: fragsize for highlighting

2011-07-30 Thread Frank Chiu
I ended up removing the EdgeNGramFilterFactory and the highlighting seems to work okay. Thanks for your help, echoParams is useful. On Sat, Jul 30, 2011 at 2:07 PM, Ahmet Arslan iori...@yahoo.com wrote: I suspected that you set fragsize twice, but from what you paste thats not the case. e.g

slow highlighting because of stemming

2011-07-29 Thread Orosz György
Dear all, I am quite new about using Solr, but would like to ask your help. I am developing an application which should be able to highlight the results of a query. For this I am using regex fragmenter: highlighting fragmenter name=regex class=org.apache.solr.highlight.RegexFragmenter lst

Re: slow highlighting because of stemming

2011-07-29 Thread Mike Sokolov
document that is analyzed by the regular Highlighter using maxDocCharsToAnalyze (and maybe this applies to FVH? not sure) Using RegexFragmenter is also probably slower than something like SimpleFragmenter. There is work to implement faster highlighting for Solr/Lucene, but it depends on some

highlighting fragsize

2011-07-25 Thread jame vaalet
hi when u highlight and get back snippet fragments , can you over write the default hl.regex.pattern through url . can some quote an example url of that sort ? what if i make pass hl.slop=0 will this stop considering regex pattern at all ? -- -JAME

Re: Looking for Custom Highlighting guidance

2011-06-30 Thread Jamie Johnson
text field? If so, you should probably be able to hack up FastVectorHighlighter to do what you want. -Mike On 06/29/2011 02:22 PM, Jamie Johnson wrote: I have a schema with a text field and a text_phonetic field and would like to perform highlighting on them in such a way that the tokens

Re: Looking for Custom Highlighting guidance

2011-06-30 Thread Mike Sokolov
FastVectorHighlighter to do what you want. -Mike On 06/29/2011 02:22 PM, Jamie Johnson wrote: I have a schema with a text field and a text_phonetic field and would like to perform highlighting on them in such a way that the tokens that match are combined. What would be a reasonable way

Field Value Highlighting

2011-06-29 Thread zarni aung
Hi, I need help in figuring out the right configuration to perform highlighting in Solr. I can retrieve the matching documents plus the highlighted matches. I've done another tool called DTSearch where it would return the offset positions of the field value to highlight. I've tried a few

Looking for Custom Highlighting guidance

2011-06-29 Thread Jamie Johnson
I have a schema with a text field and a text_phonetic field and would like to perform highlighting on them in such a way that the tokens that match are combined. What would be a reasonable way to accomplish this?

Re: Looking for Custom Highlighting guidance

2011-06-29 Thread Mike Sokolov
to perform highlighting on them in such a way that the tokens that match are combined. What would be a reasonable way to accomplish this?

Re: Exact phrase highlighting

2011-06-27 Thread okayndc
-highlighting-tp480339p3113824.html Sent from the Solr - User mailing list archive at Nabble.com.

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