Solr Search focus the exact match when open the document - solr4

I want that when we click on search result link for searched keyword,it should open the docuement(pdf) with focus on first appearence of searched keyword.

Please check for Solr Highlighting

Related

Highlight text on Lyx documents

I am using Lyx for my homework (text+math) for a while now, but there are a few features I couldn't find and it is hard for me to believe they don't exist (even with some workaround).
Is there an option to highlight text on LYX?
example for how I'd like it to appear on my PDF product:
an example for PDF with highlighted text
I couldn't find it on the interface or settings.
I googled it, asked my T.As, posted a question on several Lyx related facebook communities - but couldn't find any solution.
On the other hand, no one told me "I have checked it and it's not possible" - so I keep looking.🤷‍♂️
Some add-on? Packages?
You can do this with "Soul" module. Here are the steps:
Download the module.
Put the module in the "layouts" directory inside your user directory. You can find your user directory by going to Help > About.
In LyX, do Tools > Reconfigure.
Restart LyX.
Open a document in LyX and go to Document Settings > Modules. After steps (3) and (4) you should now see "Soul Text Markup" as a module. Click "Add" and then "OK". Here is a screenshot (before clicking "Add"):
After (5), you can now select text in your document and go to Edit > Text Style > highlight.
More information is on the module wiki page. I have never heard of Facebook LyX communites. I suggest instead to join our lyx-users mailing list. There are a lot of knowledgeable and friendly LyX users helping each other out.

Media Picker filename search not accurate

Is there a way to fix the search in a Media Picker component for Umbraco? I noticed that when I click on the Media Picker component and tried to search for the file I uploaded I ended up of getting all sort of results that has nothing to do with the search I've been looking for. So ideally I was hoping that if I type image001.png I was expecting to find all image with that name. But to my surprise when I do the search I get presented with files that is not even image001.png. See below image
As you can see I tried to search for 200 but I got presented with a file that has a name of test.jpg
Is there a way to fix this filter behavior? I'm using Umbraco 7.4
Did test have 200 in the path where the media library stored it? Search is a bit of a black art sometimes. You can clear and re-build the indexes as that might help improve things.
I do not think there are any custom packages to improve this. YOu could create your own custom search fairly quickly n the backend within a new tab, like this:
https://www.jondjones.com/learn-umbraco-cms/umbraco-7-tutorials/umbraco-backend-customisation/how-to-display-an-mvc-view-in-the-umbraco-backend/
Then you can use examine to query media yourself and only search on the filename. Prob not the most helpful answer but it is a option :)

What #:~:text= do in url?

I noticed that google can highlight exact sentences at search results after clicking a link. After a short research I found out that browser highlights some text at page if there are #:~:text=your_text in url.
For example, a phrase "search results" will be highlighted if you click this link (in new tab) - What #:~:text= do in url?
I want to read more info about this, but googling #:~:text= doesn't help. Can you explain how it works and give a link to a specification please?

RubyMine searching with find usages

I have just bought a license to use Ruby Mine and am really struggling to learn how to use it. I keep having to go back to Text Mate to do simple things like searching.
I'm trying to find where i have defined a css div (called "category title"). From what I can gather, I need to use 'Find Usages' in Ruby Mine. Most times when I go to the edit/find menu, 'find usages' is greyed out. Then, if I click on the uppermost 'app' folder, and click find usages, it searches for 'app'. It doesn't recognise the search in the search bar. If i type the div name in the code and click alt/F7, it gives me a typo warning rather than a search option.
Does anyone know how to search the entire app (not just the specific file of the app) in RubyMine? I'm finding this incredibly frustrating.
Thank you
The command you need is Find in Path which will search your entire project, set of projects if they are open together, a specific director, etc. It has a bunch of options, including a regex search. For Mac, it is Command+Shift+f, for windows Ctrl+Shift+f
Checkout this site for keyboard reference.
https://www.jetbrains.com/ruby/documentation/index.html
You might also try shift+shift which is search everywhere, files, classes, symbols.

Highlights Epub open in UIWebView

Any one can help me out for highlighting on epub. I open epub on UIWebView and allow user to highlight the text which he can see in future too. I am having database to store highlights detail. I am able to highlight using javascript. But since it uses range etc it remain till page is not change or reload.
Those who donot know what is epub you can suggest me on simple html page.
Please any one can suggest me how to implement highlight just like ibook have
Any logics?
Thanks in advance
See the following for the Javascript required:
https://github.com/fedefrappi/AePubReader/blob/master/AePubReader/SearchWebView.js
Download entire project to see how it's used.

Resources