FAQ Database Discussion Community


What it the difference between default, FastVector and Posting highlighters in Solr?

search,solr,indexing,highlighting
I'm developing web app with Solr search engine and try to understand how highlighting works. What it the difference between default, FastVector and Posting highlighters in Solr?...

What CSS property is controlling this input highlighting?

css,input,highlighting
The image below shows an input field with the text 'test' in it, immediately after clicking in the input to gain focus: I'm trying to remove the green highlighting (the green is coming from the OS highlight color). Here is another image illustrating the desired behavior with a normal, unstyled...

ShingleFilterFactory affects size of highlighted section in Solr

solr,highlighting
Adding ShingleFilterFactory to a type in solr (index time) does result in changing behavior when queering with highlighting. Sample Text: "in a ship a dragon was in a box" Without ShingleFilterFactory both "in" tokens will be highlighted separately. <em>in</em> a ship a dragon was <em>in</em> a box With it the...

Solr will use Highlighter instead of FastVectorHighlighter warning

solr,highlighting,solr4,sunspot-rails,sunspot-solr
Hi I'm developing rails app with Solr 4.1 search engine, When I add highlighting to searchSolr start spaming the tomcat6 log with this warning: Jan 29, 2015 12:13:38 PM org.apache.solr.highlight.DefaultSolrHighlighter useFastVectorHighlighter WARNING: Solr will use Highlighter instead of FastVectorHighlighter because *Field_Name* field does not store TermPositions and TermOffsets. Example of...

Android RecyclerView select first Item

android,selection,recyclerview,highlighting
I'm using a RecyclerView to implement a NavigationDrawer. I got click events working, but I can't figure out how to have the first item selected on App start and following that keep the selected item higlighted even if the drawer is not shown. All I've been able to find is...

Highlight line(s)/characters in WPF

wpf,textbox,lines,highlighting
Scenario I am currently developing an application. Within this application, I have a TextBox/RichTextBox. I have not decided on the control yet. Within this control, there will be a few paragraphs of text. Problem I want to be able to highlight a range of lines, or particular characters within that...

How do I get the Onmouseover method to apply universally to all links?

class,styling,highlighting,onmouseover
We're aware of that amazing trick which allows users to highlight a link. But, you must repeat it for each link. for example: a href="https://www.yahoo.com" Onclick="window.open(this.href); return false" onmouseout="this.style.color = '#0000ff';" onmouseover="this.style.color = '#e3FF85';" align="justify">Yahoo. But, I would like this code to apply to every link on the page. I've...

Curious behaviour of fragment_size in elasticsearch highlighting

elasticsearch,highlighting
TL;DR : I don't understand how highlighting is working, and more precisely how fragment_size influences the highlighting. On a new ES installation (1.4.2), I'm creating an index with the following settings : { "mappings" : { "test": { "properties": { "content" : { "type" : "string", "analyzer" : "french" }...

Excel - when I click on any cell from the group (set by me), I'd like to highlight all of the 'connected' cells instantly

excel,excel-formula,excel-2007,highlighting,cells
Example of what I want. We have an excel spreadsheet. I want to 'group' i.e. E3, E6, E10 (NOT E4, E5, E7 etc... that's the point) cells so if I click of any of them, all of them will be highlighted. So let's say, I click on E3 so E3,...

PHP designer 8 Syntax Highlighing

php,syntax,designer,highlighting,phpdesigner
I tried to change the error highlighter in PHP Designer 8 in preferences but nothing changed. I want to change the annoying red background in error highlighter.

Multiple SelectionBackColors for a Datagridview or Disabling the Color

vb.net,datagridview,selection,highlighting
I'm trying to change the dgv selectionbackcolor depending on the selected cell's backcolor, so if the cell's backcolor is light red, the selectionbackcolor of that cell will be dark red. I have a solution for single cell selection, but my problem is I have several different cell colors and when...

AngularJs - html rendering

html,angularjs,highlighting
We use elastic search highlighter and get the below code from the highlighter. <span style='font-weight:bold;color:red;'>Baskar</span> Test We display the result in html as follows. <tr ng-repeat="result in searchModelResult"> <td><p ng-bind-html="result.name"></p></td> </tr> I have included sanitize.js and have ngSanitize in the angular module. Still i dont see the html effect like...

highlight “” inside “” — “” in notepad++? [duplicate]

php,html,highlighting
This question already has an answer here: Is there anyway to have Notepad++ highlight both PHP and HTML at the same time? 2 answers <html> This is file is called "example.php".<br> <?php print "=== This is printed by a php 'print' statement<br>"; ?> This text is after the embedded...

Background color change of found text in notepad++

colors,notepad++,highlighting
when i search a text pattern using "find all in current document" option in Find window, how to set the background of the selected result. Like currently i am searching "I" in the complete file, need the search result background to change when i select a particular line. attaching a...

Highlight cells based on 10-15 values and post alternatives

excel,excel-formula,highlighting,conditional-formatting
I have a 1600-2000 rows of data in a spreadsheet that changes daily. I would like to highlight any row that contains such as 000000000000053851 in the R column. I had tried conditional formatting using this formula: =OR($R1="000000000000549543",$R1="000000000000267294,$R1="000000000000053851") but it seems to highlight a few rows that are blank in...