Re: Solr Highlighting not working

2020-11-30 Thread Ajay Sharma
Hi All, pushing the query to the top. Does anyone have any idea about it? On Fri, Nov 27, 2020 at 11:49 AM Ajay Sharma wrote: > Hi Community, > > This is the first time, I am implementing a solr *highlighting *feature. > I have read the concept via solr documentation &

Solr Highlighting not working

2020-11-26 Thread Ajay Sharma
Hi Community, This is the first time, I am implementing a solr *highlighting *feature. I have read the concept via solr documentation Link- https://lucene.apache.org/solr/guide/8_2/highlighting.html To enable highlighting I just have to add *&hl=true&hl.fl=* *in our solr query and

Re: Need help with solr highlighting feature

2018-01-18 Thread Steve Rowe
ve >> www.lucidworks.com >> >>> On Jan 16, 2018, at 12:20 PM, Aashish Agarwal >> wrote: >>> >>> Hello, >>> >>> I am using solr highlighting feature on multivalued field containing >> korean >>> words.The feature is not worki

Re: Need help with solr highlighting feature

2018-01-17 Thread Aashish Agarwal
t; > Please share your configuration: highlighter and schema. > > -- > Steve > www.lucidworks.com > > > On Jan 16, 2018, at 12:20 PM, Aashish Agarwal > wrote: > > > > Hello, > > > > I am using solr highlighting feature on multivalued field containing >

Re: Need help with solr highlighting feature

2018-01-17 Thread Steve Rowe
Hi Aashish, Which version of Solr are you using? Please share your configuration: highlighter and schema. -- Steve www.lucidworks.com > On Jan 16, 2018, at 12:20 PM, Aashish Agarwal wrote: > > Hello, > > I am using solr highlighting feature on multivalued field containing kor

Need help with solr highlighting feature

2018-01-16 Thread Aashish Agarwal
Hello, I am using solr highlighting feature on multivalued field containing korean words.The feature is not working as expected. Search is working fine but in case of highlighting it gives response as . I am storing term vector for the field and it is also stored=true. Please reply soon. Need

Inconsistent Solr highlighting

2015-06-15 Thread Becker Moritz
match was found in. For this, I want to use Solr highlighting. My problem is now, that the highlighting seems to work inconsistently which is a problem in my use case. The field configuration for e.g. my dynamic field '*_en' field is as follows:

Re: Show all fields in Solr highlighting output

2015-06-11 Thread Zheng Lin Edwin Yeo
me, hlVal ); > } > } > } > } > } > } > } > > -Original Message- > From: Ahmet Arslan [mailto:iori.

RE: Show all fields in Solr highlighting output

2015-06-11 Thread Reitzel, Charles
result.addField( fieldName, hlVal ); } } } } } } } -Original Message- From: Ahmet Arslan [mailto:iori...@yahoo.com.INVALID] Sent: Thursday, June 11, 2015 6:43 AM To: solr-user@lucene.apache.org Subject: Re: Show all fiel

Re: Show all fields in Solr highlighting output

2015-06-11 Thread Ahmet Arslan
Hi Edwin, I think Highlighting Behaviour of those types shifts over time. May be we should do the reverse. Move snippets to main response: https://issues.apache.org/jira/browse/SOLR-3479 Ahmet On Thursday, June 11, 2015 11:23 AM, Zheng Lin Edwin Yeo wrote: Hi Ahmet, I've tried that, but i

Re: Show all fields in Solr highlighting output

2015-06-11 Thread Zheng Lin Edwin Yeo
Hi Ahmet, I've tried that, but it's still not able to show. Those fields are actually of type=float, type=date and type=int. By default those field type are not able to be highlighted? Regards, Edwin On 11 June 2015 at 15:03, Ahmet Arslan wrote: > Hi Edwin, > > hl.alternateField is probabl

Re: Show all fields in Solr highlighting output

2015-06-11 Thread Ahmet Arslan
Hi Edwin, hl.alternateField is probably what you are looking for. ahmet On Thursday, June 11, 2015 5:38 AM, Zheng Lin Edwin Yeo wrote: Hi, Is it possible to list all the fields in the highlighting portion in the output? Currently,even when I *, it only shows fields where highlighting is po

Show all fields in Solr highlighting output

2015-06-10 Thread Zheng Lin Edwin Yeo
Hi, Is it possible to list all the fields in the highlighting portion in the output? Currently,even when I *, it only shows fields where highlighting is possible, and fields which highlighting is not possible is not shown. I would like to have the output where all the fields, regardless if highli

Solr Highlighting

2015-04-28 Thread Vijaya Narayana Reddy Bhoomi Reddy
Hi, When I perform a query, the matching document related field information is displayed separate from the highlighting information. Is there a way to merge these two so that highlighting for each document appears within the document level information itself. That way, it would be easier to find h

Solr highlighting of multiple terms, what is the separator of the string that is returned

2015-02-27 Thread happysailingdude
http://stackoverflow.com/questions/4014820/solr-highlighting-of-multiple-terms tells us how to have multiple snippets be returned containing highlighted searched terms.. my question is: What is the separator of the string that is returned? I'm seeing it as a carriage return which isn&#

Re: solr highlighting query

2014-10-27 Thread john eipe
Thanks David. So I guess I will have to go with default highlighter (with a higher fragsize) and then take care of boundryScanning myself.

Re: solr highlighting query

2014-10-27 Thread david.w.smi...@gmail.com
Ah. Currently the most accurate highlighter is the default one, so if accuracy is more important than BreakIterator then you’ll have to switch back. Keep an eye out for some efficiency enhancements to this highlighter “real soon now”. Separately from that efficiency, later this year I may have a

Re: solr highlighting query

2014-10-27 Thread john eipe
Yes. It seems to work for Default Highlighting. I'm using Fast Vector Highlighter. Let me also explain why I went for Fast Vector Highlighter. I wanted the highlighted content to be complete and not broken words and for that I need to use breakIterator which works only for Fast vector highlightin

Re: solr highlighting query

2014-10-27 Thread david.w.smi...@gmail.com
John, I’m not seeing this problem. Presumably we’re talking about the default highlighter (the most accurate one) but I figure the others would match it too. To test, I added the following to HighlightTest.java in Solr and this test passed: @Test public void testSpan() { final String fie

Re: solr highlighting query

2014-10-27 Thread Erick Erickson
Well, maybe you can work with the ComplexPhraseQueryParser, that's been around for a while, see: http://lucene.apache.org/core/4_10_1/queryparser/org/apache/lucene/queryparser/complexPhrase/ComplexPhraseQueryParser.html Or you can just live with the inherent slop in the ~ operator. You haven't rea

Re: solr highlighting query

2014-10-27 Thread john eipe
I have this line highlighted Jobs was born in San Francisco, California on February 24 1955. for query "Jobs born"~15 but not for "born Jobs"~15. I want the same result irrespective of the order of search keywords. Regards, John Eipe “The Roots of Violence: Wealth without work, Pleasure withou

Re: solr highlighting query

2014-10-25 Thread Erick Erickson
Well, the syntax is wrong. You probably want content_raw:"jobs born"~15. The way slop works, it is the number of "moves" so this will match "jobs was a man born somewhere" and "all persons born include jobs". The difference is that the version that has "born" first and "jobs" second will take an ex

solr highlighting query

2014-10-24 Thread john eipe
Hi I'm trying to match keywords based on 2 fields and excluding order importance but with distance restriction. title:(Jobs) AND content_raw:(Jobs born)~15 This throws error: org.apache.solr.search.SyntaxError: Cannot parse '(Jobs born)~15': Encountered " "~15 " What's the correct way to frame

Solr Highlighting Response Type

2013-11-20 Thread Furkan KAMACI
Here is an example from wiki: Iterator iter = queryResponse.getResults().iterator(); while (iter.hasNext()) { SolrDocument resultDoc = iter.next(); String content = (String) resultDoc.getFieldValue("content"); String id = (String) resultDoc.getFieldValue("id"); //id is the

solr highlighting

2013-11-19 Thread javozzo
hat i use are: hl.fl=* and hl=true. I have an array that contains some records with the term between tags but I'd like to get directy this the title field. Any ideas? Thanks Danilo -- View this message in context: http://lucene.472066.n3.nabble.com/solr-highlighting-tp4101919.html Sent fro

RE: Solr Highlighting Best Practices Guideline

2013-10-29 Thread Erwin Gunadi
Hi Jack, thank you for the hint. Best Regards Erwin -Original Message- From: Jack Krupansky [mailto:j...@basetechnology.com] Sent: Tuesday, October 29, 2013 4:14 PM To: solr-user@lucene.apache.org Subject: Re: Solr Highlighting Best Practices Guideline There are some detailed examples

Re: Solr Highlighting Best Practices Guideline

2013-10-29 Thread Jack Krupansky
There are some detailed examples in my e-book as well. -- Jack Krupansky -Original Message- From: Erwin Gunadi Sent: Tuesday, October 29, 2013 8:21 AM To: solr-user@lucene.apache.org Subject: RE: Solr Highlighting Best Practices Guideline Hi Furkan, thanks for the reply. I was

RE: Solr Highlighting Best Practices Guideline

2013-10-29 Thread Erwin Gunadi
Message- From: Furkan KAMACI [mailto:furkankam...@gmail.com] Sent: Tuesday, October 29, 2013 12:56 PM To: solr-user@lucene.apache.org Subject: Re: Solr Highlighting Best Practices Guideline This is a too broad question. If you have specific questions or want to see other users' problems

Re: Solr Highlighting Best Practices Guideline

2013-10-29 Thread Furkan KAMACI
This is a too broad question. If you have specific questions or want to see other users' problems about highlighting feature at Solr you can check here: http://search-lucene.com/?q=highlighting&fc_project=Solr&fc_type=mail+_hash_+user On the other hand you can read Using Additional Solr Functionali

Solr Highlighting Best Practices Guideline

2013-10-29 Thread Erwin Gunadi
Hi, After having done the official Solr-Tutorial (https://lucene.apache.org/solr/4_5_1/) and read the Solr-Reference-Guide (https://www.apache.org/dyn/closer.cgi/lucene/solr/ref-guide/), I would like to ask whether someone can point me to best practices and/or tutorial on how to setup the high

RE: Solr highlighting fragment issue

2013-09-04 Thread Bryan Loofbourrow
>> I’m having some issues with Solr search results (using Solr 1.4 ) . I have enabled highlighting of searched text (hl=true) and set the fragment size as 500 (hl.fragsize=500) in the search query. Below is the (screen shot) results shown when I searched for the term ‘grandfather’ (2 results are

Solr highlighting fragment issue

2013-09-04 Thread Sreehareesh Kaipravan Meethaleveetil
Hi, I'm having some issues with Solr search results (using Solr 1.4 ) . I have enabled highlighting of searched text (hl=true) and set the fragment size as 500 (hl.fragsize=500) in the search query. Below is the (screen shot) results shown when I searched for the term 'grandfather' (2 results a

Solr highlighting problem

2012-12-14 Thread dutchiexl
for company_text which is just the full field. Is it possible to only return the highlights for the fields that had a match ? I tried requireFieldMatch with usePhraseHighlighter but that doesn't work. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-highlig

Re: Solr: Highlighting word parts in excerpt does not work

2012-04-05 Thread Koji Sekiguchi
(12/04/05 15:34), Thomas Werthmüller wrote: Hi I configured solr that also word parts are found. When is search "Monday" or "Mond" the right document is found. This is done with the following configuration in the schema.xml:. Now, when I add hl=true to the query sting, the excerpt for "Monday"

Re: Solr Highlighting not working with PayloadTermQueries

2012-02-22 Thread Koji Sekiguchi
(12/02/22 7:53), Nitin Arora wrote: Hi, I'm using SOLR and Lucene in my application for search. I'm facing an issue of highlighting using FastVectorHighlighter not working when I use PayloadTermQueries as clauses of a BooleanQuery. After Debugging I found that In DefaultSolrHighlighter.Java, f

Solr Highlighting not working with PayloadTermQueries

2012-02-21 Thread Nitin Arora
).length == 1 ){ flatQueries.add( new TermQuery( pq.getTerms()[0] ) ); } } } // else discard queries } What is the best way to get highlighting working with Payload Term Queries? Thanks Nitin -- View this message in context: http://lucene.472066.n3.nabble.com/Solr

Re: Solr highlighting isn't work!

2011-11-22 Thread VladislavLysov
e.queryParser.ParseException: Cannot parse '@{http://www.agilent.com/openlab/eln/model/content/0.1}label.__:"{en}label1";': Encountered " "}" "} "" at line 1, column 54. Was expecting one of: "TO" ... ... ... " -- View this messa

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=standard&q=TYPE: https://localhost:8443/solr/m

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=standard&q=TYPE: https://localhost:8443/solr/myCore/afts?wt=standard&q=TYPE:"cm

Re: Solr Highlighting and fqs

2011-06-17 Thread Jamie Johnson
11, at 21.48, Jamie Johnson wrote: > > > I've read in several places that the Solr Highlighting component ignores > > fqs, is there a way to enable it for them? I have an interface where a > user > > essentially continues to pare down the information they are looking fo

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 High

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 "J

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 else

Re: Solr highlighting is botching output

2011-01-10 Thread Dan Loewenherz
s. > > Searching histo will return : African American History > > --- On Tue, 1/11/11, Dan Loewenherz wrote: > > > From: Dan Loewenherz > > Subject: Re: Solr highlighting is botching output > > To: solr-user@lucene.apache.org > > Date: Tuesday, Januar

Re: Solr highlighting is botching output

2011-01-10 Thread Ahmet Arslan
Replacing with EdgeNGramTokenizerFactory with combination should solve your problem. Preserving your search within words. Searching histo will return : African American History --- On Tue, 1/11/11, Dan Loewenherz wrote: > From: Dan Loewenherz > Subject: Re: Solr highlighting is bo

Re: Solr highlighting is botching output

2011-01-10 Thread Dan Loewenherz
On Mon, Jan 10, 2011 at 9:19 PM, Ahmet Arslan wrote: > > Not sure about your solr version but probably it can be > https://issues.apache.org/jira/browse/LUCENE-2266 > > Is there a special reason for using EdgeNGramTokenizerFactory? > Replacing this tokenizer with WhiteSpaceTokenizer should solve

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 either in your

Re: Solr highlighting is botching output

2011-01-10 Thread Dan Loewenherz
On Mon, Jan 10, 2011 at 6:51 PM, Ahmet Arslan wrote: > > Thats really strange. Can you provide us field type > > definition of text field. And full search URL that caused > > that output. And the solr version. > > > > Also, did you enable term vectors on text field? > > Not sure what those are, s

Re: Solr highlighting is botching output

2011-01-10 Thread Dan Loewenherz
On Mon, Jan 10, 2011 at 6:48 PM, Ahmet Arslan wrote: > Thats really strange. Can you provide us field type definition of text > field. And full search URL that caused that output. And the solr version. > Sure. Full search URL: /solr/select?indent=on &version=2.2&q=history&fq=&start=0&rows=10&fl

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 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 > anyo

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 else

Solr highlighting is double-quotes-aware?

2010-12-01 Thread Scott Gonyea
Not sure how to write that subject line. I'm getting some weird behavior out of the highlighter in Solr. It seems like an edge case, but I'm curious to hear if this is known about, or if it's something worth looking into further. Background: I'm using Solr's highlighting facility to tag words

Re: Solr Highlighting Question

2010-09-24 Thread Koji Sekiguchi
(10/09/25 8:07), Jed Glazner wrote: Hi Koji, I'm trying to get the FVH to work per your suggestion, but I think I must have something misconfigured... Here is the field def in my schema.xml: Then here is my request handler in solrconfig.xml: edismax name_title^3 plain^6 grams^1 sou

Re: Solr Highlighting Question

2010-09-24 Thread Jed Glazner
Hi Koji, I'm trying to get the FVH to work per your suggestion, but I think I must have something misconfigured... Here is the field def in my schema.xml:                     Then here is my request handler in solrconfig.xml:        

Re: Solr Highlighting Issue

2010-09-17 Thread Lance Norskog
H has a Right To Life, >  otherwise we all die. > > Read 'Hot, Flat, and Crowded' > Laugh at http://www.yert.com/film.php > > > --- On Fri, 9/17/10, Ahson Iqbal wrote: > >> From: Ahson Iqbal >> Subject: Solr Highlighting Issue >> To: solr-user@lucene.a

Re: Solr Highlighting Issue

2010-09-17 Thread Dennis Gearon
How does highlighting work with JSON output? Dennis Gearon Signature Warning EARTH has a Right To Life, otherwise we all die. Read 'Hot, Flat, and Crowded' Laugh at http://www.yert.com/film.php --- On Fri, 9/17/10, Ahson Iqbal wrote: > From: Ahson Iqbal &g

Re: Solr Highlighting Issue

2010-09-17 Thread Ahson Iqbal
Hi Koji thank you very much it really works From: Koji Sekiguchi To: solr-user@lucene.apache.org Sent: Fri, September 17, 2010 7:11:31 PM Subject: Re: Solr Highlighting Issue (10/09/17 16:36), Ahson Iqbal wrote: > Hi All > > I have an issue in hig

Re: Solr Highlighting Issue

2010-09-17 Thread Koji Sekiguchi
(10/09/17 16:36), Ahson Iqbal wrote: Hi All I have an issue in highlighting that if i query solr on more than one fields like "+Contents:risk +Form:1" and even i specify the highlighting field is "Contents" it still highlights risk as well as 1, because it is specified in the query.. now if i s

Solr Highlighting Issue

2010-09-17 Thread Ahson Iqbal
Hi All I have an issue in highlighting that if i query solr on more than one fields like "+Contents:risk +Form:1" and even i specify the highlighting field is "Contents" it still highlights risk as well as 1, because it is specified in the query.. now if i split the query as "+Contents:risk" i

Re: Solr Highlighting Question

2010-09-08 Thread Koji Sekiguchi
(10/09/09 2:26), Jed Glazner wrote: Thanks for taking time to read through this. I'm using a checkout from the solr 3.x branch My problem is with the highlighter and wildcards I can get the highlighter to work with wild cards just fine, the problem is that solr is returning the term matched

Re: Solr Highlighting Question

2010-09-08 Thread Jed Glazner
Anybody? On 09/08/2010 11:26 AM, Jed Glazner wrote: Thanks for taking time to read through this. I'm using a checkout from the solr 3.x branch My problem is with the highlighter and wildcards I can get the highlighter to work with wild cards just fine, the problem is that solr is retur

Solr Highlighting Question

2010-09-08 Thread Jed Glazner
Thanks for taking time to read through this. I'm using a checkout from the solr 3.x branch My problem is with the highlighter and wildcards I can get the highlighter to work with wild cards just fine, the problem is that solr is returning the term matched, when what I want it to do is highlig

Re: solr highlighting

2010-03-29 Thread Lance Norskog
No problem: wrapping and unwrapping escaped text can be very confusing. On Fri, Mar 26, 2010 at 6:31 AM, Niraj Aswani wrote: > Hi Lance, > > apologies.. please ignore my previous mail.  I'll have a look at the > PatternReplaceFilter. > > Thanks, > Niraj > > Niraj Aswani wrote: >> >> Hi Lance, >>

Re: solr highlighting

2010-03-26 Thread Niraj Aswani
Hi Lance, apologies.. please ignore my previous mail. I'll have a look at the PatternReplaceFilter. Thanks, Niraj Niraj Aswani wrote: Hi Lance, Yes, that is once solution but wouldn't it stop people searching for something like "characters at the index time, one would have to write a quer

Re: solr highlighting

2010-03-26 Thread Niraj Aswani
Hi Lance, Yes, that is once solution but wouldn't it stop people searching for something like "characters at the index time, one would have to write a query like "

Re: solr highlighting

2010-03-25 Thread Lance Norskog
To display html-markup in an html page, it has to be in entity-encoded form. So, encode the <> as entities in your input application, and have it indexed and stored in this format. Then, the are inserted as normal. This gives you the html text displayable in an html page, with all words highlighta

solr highlighting

2010-03-25 Thread Niraj Aswani
Hi, I am using the following two parameters to highlight the hits. "hl.simple.pre=" + URLEncoder.encode("") "hl.simple.post=" + URLEncoder.encode("") This seems to work. However, there is a bit of trouble when the text itself contains html markup. For example, I have indexed a document with

Re: Solr highlighting doesn't respect quotes

2009-09-24 Thread Paul Tomblin
On Thu, Sep 24, 2009 at 7:04 PM, Koji Sekiguchi wrote: > Set hl.usePhraseHighlighter parameter to true: > > http://wiki.apache.org/solr/HighlightingParameters#hl.usePhraseHighlighter > > That seems to have done it. Thanks. -- http://www.linkedin.com/in/paultomblin

Re: Solr highlighting doesn't respect quotes

2009-09-24 Thread Koji Sekiguchi
Set hl.usePhraseHighlighter parameter to true: http://wiki.apache.org/solr/HighlightingParameters#hl.usePhraseHighlighter Koji Paul Tomblin wrote: If I do a query for a couple of words in quotes, Solr correctly only returns pages where those words appear exactly within the quotes. But the hig

Solr highlighting doesn't respect quotes

2009-09-24 Thread Paul Tomblin
If I do a query for a couple of words in quotes, Solr correctly only returns pages where those words appear exactly within the quotes. But the highlighting acts as if the words were given separately, and stems them and everything. For example, if I search for "knee pain", it returns a document th

RE: solr highlighting

2008-05-22 Thread Kevin Xiao
M To: solr-user@lucene.apache.org Subject: solr highlighting Hi there, I am new to solr. I want search term to be highlighted on the results. I thought it is pretty simple, but could not make it work. I read a lot of solr documents and mail archives (I wish there is a search function for this, we are tal

RE: solr highlighting

2008-05-22 Thread Kevin Xiao
Do you see anything wrong there? Thanks, - Kevin -Original Message- From: Mike Klaas [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 14, 2008 12:03 PM To: solr-user@lucene.apache.org Subject: Re: solr highlighting The minimum "stuff" needed to highlight term X in field F is: fie

RE: solr highlighting

2008-05-14 Thread Kevin Xiao
Yes. I did all that. Maybe my custom analyzer conflicts with highlighting. Thanks for the tips. - Kevin -Original Message- From: Mike Klaas [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 14, 2008 12:03 PM To: solr-user@lucene.apache.org Subject: Re: solr highlighting The minimum "

Re: solr highlighting

2008-05-14 Thread Mike Klaas
n Vogler [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 14, 2008 5:55 AM To: solr-user@lucene.apache.org Subject: Re: solr highlighting On Wednesday 14 May 2008 09:21:36 Kevin Xiao wrote: Hi there, I am new to solr. I want search term to be highlighted on the results. I thought it is pretty si

RE: solr highlighting

2008-05-14 Thread Kevin Xiao
ogler [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 14, 2008 5:55 AM To: solr-user@lucene.apache.org Subject: Re: solr highlighting On Wednesday 14 May 2008 09:21:36 Kevin Xiao wrote: > Hi there, > > I am new to solr. I want search term to be highlighted on the results. I > thought it is p

Re: solr highlighting

2008-05-14 Thread Christian Vogler
On Wednesday 14 May 2008 09:21:36 Kevin Xiao wrote: > Hi there, > > I am new to solr. I want search term to be highlighted on the results. I > thought it is pretty simple, but could not make it work. I read a lot of > solr documents and mail archives (I wish there is a search function for > this, w

solr highlighting

2008-05-13 Thread Kevin Xiao
Hi there, I am new to solr. I want search term to be highlighted on the results. I thought it is pretty simple, but could not make it work. I read a lot of solr documents and mail archives (I wish there is a search function for this, we are talking about solr, aren’t we? ☺). Solrconfig.xml

RE: Solr Highlighting, word index

2007-12-10 Thread Owens, Martin
est Regards, Martin Owens -Original Message- From: Binkley, Peter [mailto:[EMAIL PROTECTED] Sent: Wed 12/5/2007 4:07 PM To: solr-user@lucene.apache.org Subject: RE: Solr Highlighting, word index We're doing a similar process using term vectors to look up the bounding-box data in

RE: Solr Highlighting, word index

2007-12-05 Thread Binkley, Peter
380. We're looking at using Lucene's new payload functionality. Peter -Original Message- From: Mike Klaas [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 05, 2007 2:19 PM To: solr-user@lucene.apache.org Subject: Re: Solr Highlighting, word index On 5-Dec-07, at 1:02 PM,

Re: Solr Highlighting, word index

2007-12-05 Thread Mike Klaas
On 5-Dec-07, at 1:02 PM, Owens, Martin wrote: Thanks Mike, So in essence I need to write a new RequestHandler plugin which takes the query string, tokenises it then perform a some kind of action against the index to return results which I should then be able to get the termVectors from?

RE: Solr Highlighting, word index

2007-12-05 Thread Owens, Martin
You do not necessarily need two requests; instead, you can override or modify the request handler you are using (StandardRequestHandler, DisMaxREquestHandler) to return the information. You'll have to process the Query to extract the terms (like HighlighingUtils does), then get the TermVe

Re: Solr Highlighting, word index

2007-12-05 Thread Mike Klaas
On 3-Dec-07, at 10:58 AM, Owens, Martin wrote: You can tell lucene to store token offsets using TermVectors (configurable via schema.xml). Then you can customize the request handler to return the token offsets (and/or positions) by retrieving the TVs. I think that is the best plan of actio

Re: Solr Highlighting, word index

2007-12-05 Thread Ryan McKinley
Owens, Martin wrote: Hello everyone, We're working to replace the old Linux version of dtSearch with Lucene/Solr, using the http requests for our perl side and java for the indexing. The functionality that is causing the most problems is the highlighting since we're not storing the text in so

RE: Solr Highlighting, word index

2007-12-03 Thread Owens, Martin
> You can tell lucene to store token offsets using TermVectors > (configurable via schema.xml). Then you can customize the request > handler to return the token offsets (and/or positions) by retrieving > the TVs. I think that is the best plan of action, how do I create a custom request h

Re: Solr Highlighting, word index

2007-11-30 Thread Erick Erickson
It's good you already have the data because if you somehow got it from some sort of calculations I'd have to tell my product manager that the feature he wanted that I told him couldn't be done with our data was possible after all ... About page breaks: Another approach to paging is to index a spe

Re: Solr Highlighting, word index

2007-11-30 Thread Mike Klaas
On 30-Nov-07, at 1:02 PM, Owens, Martin wrote: Hello everyone, We're working to replace the old Linux version of dtSearch with Lucene/Solr, using the http requests for our perl side and java for the indexing. The functionality that is causing the most problems is the highlighting since

RE: Solr Highlighting, word index

2007-11-30 Thread Owens, Martin
> Or I'm just completely off base here. A little, we already have the locations for each word on every ocr, we just need the word index to feed into the existing program. Best Regards, Martin Owens

Re: Solr Highlighting, word index

2007-11-30 Thread Erick Erickson
Oh, good luck on this! I've had similar issues and have just thrown up my hands. How do you expect to be able to correlate a word in the index with the bounding box in the OCR? I'm not sure this is a solved problem unless your OCR is *very* regular and clean. Even if you can calculate the ordinal p

Solr Highlighting, word index

2007-11-30 Thread Owens, Martin
Hello everyone, We're working to replace the old Linux version of dtSearch with Lucene/Solr, using the http requests for our perl side and java for the indexing. The functionality that is causing the most problems is the highlighting since we're not storing the text in solr (only indexing) and