Re: query against two fields

2016-03-14 Thread Erick Erickson
Ah, that's _Lucene_, support for Solr wasn't added until Solr 4.8.. sorry about that. On Mon, Mar 14, 2016 at 9:06 AM, Vis Sw wrote: > Thanks Erick... > > Strange... I am getting Unknown query parser 'complexphrase'... > > SOLR ver is 4.7.0 and I can see > org.apache.lucene.queryparser.compl

Re: query against two fields

2016-03-14 Thread Vis Sw
Thanks Erick... Strange... I am getting Unknown query parser 'complexphrase'... SOLR ver is 4.7.0 and I can see org.apache.lucene.queryparser.complexPhrase.ComplexPhraseQueryParser in lucene-queryparser-4.7.0.jar http://localhost:8081/solr/collection1/select?q={!complexphrase inOrder=true}manu:"

Re: query against two fields

2016-03-12 Thread Erick Erickson
In a word, ComplexPhraseQueryParser. See: https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-ComplexPhraseQueryParser so you search for "John de*" or "john d*" etc. Best, Erick On Sat, Mar 12, 2016 at 6:40 AM, Vis Sw wrote: > Thanks a lot Erick... > > a) Yes it does re

Re: query against two fields

2016-03-12 Thread Vis Sw
Thanks a lot Erick... a) Yes it does return result... http://localhost:8081/solr/testCollection/select?q=(project:A%20OR%20collaborator:%22John%20Dave%22)&wt=json Please suggest the best approach for the search to be like... for e.g. if collaborator "John Davis", "John Denver"... John D : sho

Re: query against two fields

2016-03-11 Thread Erick Erickson
I'm assuming that by "Angular UI" you're talking the Solr admin UI (which, BTW, is not recommended for any user-facing UI). > query against two fields; Isn't this just putting project:whatever OR collaborator:whatever in the "q" box? > return all fields which we want to display Just put them i