RSSOwlnix icon indicating copy to clipboard operation
RSSOwlnix copied to clipboard

Search for phrases

Open turbocombo opened this issue 5 years ago • 4 comments

Search for phrases by surrounding words with quotes doesn't work.

I'm using RSSOlw version 2.7.1-beta under Windows 10 x64.

turbocombo avatar Dec 04 '19 14:12 turbocombo

yes the version of lucene used is very old. the latest seems to support this. but it is more work than a simple update.

Xyrio avatar Dec 06 '19 18:12 Xyrio

Thank you for the explanation.

This Lucene you mentioned seems interesting, it even has RegExp support!

turbocombo avatar Dec 07 '19 18:12 turbocombo

@Xyrio I'd like to contribute, could you help me get started? Is there any document that I can refer to begin contributing?

shahrk avatar Jul 01 '20 18:07 shahrk

well there is a docs project but no idea how old that is i never bothered reading it. i just poke at the code changing it to see what stuff in the program is changed. and a lot of googling about eclipse rcp 3.x what most code is written for. but since it runs in eclipse rcp 4.x it can be slightly different. there is a compatibilty layer for supporting eclipse rcp 3.x stuff in 4.x.

the eclipse rcp stuff i could do for you so you can have a faster start like

  • adding latest lucene dependency

furthermore there are the lucene specific things:

  • figure out how/what is current used from lucene. like how it indexes data. the package org.rssowl.core.internal.persist.search is probably a good start
  • next understand how the latest lucene works. since version difference is huge with many years having passed, this will probably be very different. might also be hard to find a documentation for the old version.
  • redesing stuff so it works

how to setup stuff so you can work is explained here: https://github.com/Xyrio/RSSOwlnix/wiki/How-To-Build

how to run rssowlnix from within eclipse so you dont have to build every time: https://github.com/Xyrio/RSSOwlnix/wiki/How-To-Build#run-program-from-eclipse

i will make a new branch where you can then try to do this. you probably want to have everything twice. one environment for master branch where the old version is running so you can jump into old lucene sourcecode when necessary. you will have to add the src.zip once manually then it should work. and another with the new version in the the f_lucene branch with source and several compilation errors in rssowlnix code.

to avoid possibly weird complications you should use eclipse ee 4.9 https://www.eclipse.org/downloads/packages/release/2018-09/r/eclipse-ide-java-ee-developers

other useful links: http://www.lucenetutorial.com/lucene-in-5-minutes.html http://www.lucenetutorial.com/lucene-query-syntax.html

added f_lucene branch only 142 errors (many similar)

Xyrio avatar Jul 01 '20 21:07 Xyrio