Re: solr

From: Erik Hatcher <0000000fc3169c4e-dmarc-request_at_nyob>
Date: Thu, 16 May 2019 15:29:55 -0400
To: CODE4LIB_at_LISTS.CLIR.ORG
Do note, though, that if you use Luke the desktop client, that you have the same issue with Solr schema alignment with the queries you make in the UI.   You'll be able to pick an analyzer to query... but is it "compatible" with the way the fields were indexed?

	Erik


> On May 16, 2019, at 2:42 PM, Erik Hatcher <erikhatcher_at_mac.com> wrote:
> 
> Ah yes, great suggestion to use Luke (the command-line tool, not the Solr /admin/luke endpoint, that is, for those that may be familiar with the latter but not the former).
> 
> And it's super cool that Luke has recently been added directly to the Lucene project itself: https://medium.com/@mocobeta/luke-become-an-apache-lucene-module-as-of-lucene-8-1-7d139c998b2 <https://medium.com/@mocobeta/luke-become-an-apache-lucene-module-as-of-lucene-8-1-7d139c998b2>
> 
> 	Erik
> 
> 
> 
> 
>> On May 16, 2019, at 2:33 PM, Bridger Dyson-Smith <bdysonsmith_at_GMAIL.COM <mailto:bdysonsmith_at_GMAIL.COM>> wrote:
>> 
>> Eric,
>> as Michael and Chad have already mentioned, the indexes are Lucene. You
>> could try to use Luke [1] to query, or one of the methods Chad linked.
>> 
>> HTH,
>> Bridger
>> [1] https://github.com/DmitryKey/luke <https://github.com/DmitryKey/luke>
>> 
>> On Thu, May 16, 2019 at 1:30 PM Esmé Cowles <escowles_at_ticklefish.org <mailto:escowles_at_ticklefish.org>> wrote:
>> 
>>> Eric-
>>> 
>>> I don't think so — but you could copy the index locally (or propagate a
>>> snapshot) and run a local Solr server to query the index.
>>> 
>>> -Esmé
>>> 
>>>> On May 16, 2019, at 1:25 PM, Eric Lease Morgan <emorgan_at_ND.EDU <mailto:emorgan_at_ND.EDU>> wrote:
>>>> 
>>>> Is it possible to create a Solr index, copy the file(s) to my local
>>> machine, and query the index sans the Solr server?
>>>> 
>>>> SQLite works like that. There is no server. I can use SQLite to create a
>>> file, copy the file to a different computer (even a different operating
>>> system), and use a SQLite client on the different machine. In fact, there
>>> are bunches o' API's I can use to query the SQLite file.
>>>> 
>>>> Solr is a great indexer, IMHO, but if I were able to copy the index file
>>> locally, and query it without the server, then I think Solr would be even
>>> greater.
>>>> 
>>>> Do y'all know. Is such a thing possible?
>>>> 
>>>> --
>>>> Eric Morgan
>>> 
> 
Received on Thu May 16 2019 - 15:33:22 EDT