Re: Alias field names when searching (not for results)

2018-07-24 Thread Chris Hostetter
: > defType=edismax q=sysadmin name:Mike qf=title text last_name : > first_name : : Aside: I'm curious about the use of "qf", here. Since I didn't want my : users to have to specify any particular field to search, I created an : "all" field and dumped everything into it. It seems like it would

Re: Alias field names when searching (not for results)

2018-07-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chris, On 7/24/18 1:40 PM, Chris Hostetter wrote: > > : So if I want to alias the "first_name" field to "first" and the : > "last_name" field to "last", then I would ... do what, exactly? > > se the last example here... > >

Re: Alias field names when searching (not for results)

2018-07-24 Thread Chris Hostetter
: So if I want to alias the "first_name" field to "first" and the : "last_name" field to "last", then I would ... do what, exactly? se the last example here... https://lucene.apache.org/solr/guide/7_4/the-extended-dismax-query-parser.html#examples-of-edismax-queries defType=edismax q=sysadmin

Re: Alias field names when searching (not for results)

2018-07-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Emir, On 3/6/18 2:42 AM, Emir Arnautović wrote: > 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 >

Re: Alias field names when searching (not for results)

2018-07-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rick, On 3/6/18 6:39 PM, Rick Leir wrote: > 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 >

Re: Alias field names when searching (not for results)

2018-03-06 Thread Rick Leir
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ć"

Re: Alias field names when searching (not for results)

2018-03-05 Thread Emir Arnautović
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

Alias field names when searching (not for results)

2018-03-05 Thread Christopher Schultz
-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.