On Monday, March 2, 2020 at 10:07:00 AM UTC-5, Thomas Passin wrote:
[snip] 

>   I used this format to index the file for a full text search engine 
> (Lucene).  I like the format because it is easy to type, easy to read, and 
> easy to parse.  Note that this is an actual fragment from one of my files - 
> it's not made up for this post.
>
>
> ===============================================================================
> [Get or find computer-unique computer-specific id identifier] 2007-04-17
>
> Find or get an identifier (hostid or host id) unique to a specific 
> computer.
>
[snip]

Actually, this system worked pretty nicely.  I ran a batch file that would 
read your search phrase and open a page in the browser.  The page contained 
a list of section titles for sections that matched your request.  Clicking 
on one of them took you to the full text of that section.

I didn't use this system as much as I might have because it was slow to 
create the page and open the browser.  Lucene is written in Java, and so I 
wrote my code in Jython (a version of Python implemented in Java).  This 
was fine, but it was very slow to load the Jython runtime for each search.  
I probably should have turned it into a service, but I never got around to 
it.

Now there's a full-python search engine, and I could re-implement it using 
that.  But since I'm using Leo all the time now, I want to concentrate my 
energies on it rather than re-implementing the old system.  It was pretty 
nice, though.

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/ce54e851-3a03-4689-a217-9eb0b54e0033%40googlegroups.com.

Reply via email to