Christopher
The first thing that came to mind is that you are planning not to have an app 
in front of Solr. Without a web app, you will need to trust whoever can get 
access to Solr. Maybe you are on an intranet.
Thanks -- Rick

On March 6, 2018 2:42:26 AM EST, "Emir Arnautović" 
<emir.arnauto...@sematext.com> wrote:
>Hi,
>I did not try it, but the first thing that came to my mind is to use
>edismax’s ability to define field aliases, something like
>f.f1.fq=field_1. Note that it is not recommended to have field name
>starting with number so not sure if it will work with “1”.
>
>HTH,
>Emir
>--
>Monitoring - Log Management - Alerting - Anomaly Detection
>Solr & Elasticsearch Consulting Support Training - http://sematext.com/
>
>
>
>> On 5 Mar 2018, at 17:51, Christopher Schultz
><ch...@christopherschultz.net> wrote:
>> 
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>> 
>> All,
>> 
>> I'd like for users to be able to search a field by multiple names
>> without performing a "copy-field" when analyzing a document. Is that
>> possible? Whenever I search for "solr alias field" I get results
>about
>> how to re-name fields in the results.
>> 
>> Here's what I'd like to do. Let's say I have a document:
>> 
>> {
>>  id: 1234,
>>  field_1: valueA,
>>  field_2: valueB,
>>  field_3: valueC
>> }
>> 
>> I'd like users to be able to find this document using any of the
>> following queries:
>> 
>>   field_1:valueA
>>   f1:valueA
>>   1:valueA
>> 
>> I just want the query parser to say "oh, 'f1' is an alias for
>> 'field_1'" and substitute that when performing the search. Is that
>> possible?
>> 
>> - -chris
>> 
>> -----BEGIN PGP SIGNATURE-----
>> Comment: GPGTools - http://gpgtools.org
>> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>> 
>> iQJRBAEBCAA7FiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlqddZMdHGNocmlzQGNo
>> cmlzdG9waGVyc2NodWx0ei5uZXQACgkQHPApP6U8pFgbFg/9HIgJgX4Lib2X4XYU
>> P2F4uW9TyDWtp6mA9xsfdYxRNe4K3yFPbkUUwJW2MI2V62SR6apB+TghOMqbmCD/
>> gaQ0CFWgLsn5Egulj2taUN+MAYD/4GMO9ltyXNc2g9siSMIDUS5N09fwJbxfBXrP
>> SPvSQqUOVD5wKCgoCXCVd+RM+SEClX4k1ZuWDbVAiO4YPpJwFy6+BN2uTCaqP3Ll
>> XOqn+/6ejnPCcvoQrTlE1/DiBTUti8H7V0LOjzEZns8YqZOAH+pAVxYRRQM5UzZS
>> pUBGpHokoaZ0tMf/aCmHp5pI5VWrxrXcS47csBRvoAn8Z7uRxH8p0wYE8BkGs2rw
>> dEzOSOKdhma11ZDkWKg2/sBw8v9swyWy9W3MuA0tqYzfZicsXT2GBHzyPDsqabDq
>> mBPWuxUdqZEaz+fE8SRsW84ELcqe1fbltscng/ZhNRkLOtmn6aeMc+XABhpcVE7o
>> Rfodl/PrQetgzZ4WLyzb7m2bz2w38x6WSPhuQIZHVrHNoCXG+gWY3zMxF6EBEFCV
>> CJvsXaQ1ZpGLjO/uCXJ9iHKxsSoUzWap9qws82xH3QJ52Q7vCoxF5G/2MZWvvgje
>> +MsZbh8L5D0HBM1jTKWx3X+r3FbdURu6P8yUFD/Hywy2J/jev1MiU4Zh3Yw+JByo
>> mR8TdvleHAHfA01tArVgk2yscqI=
>> =44DX
>> -----END PGP SIGNATURE-----

-- 
Sorry for being brief. Alternate email is rickleir at yahoo dot com 

Reply via email to