need help on solr schema design

2016-02-27 Thread Anil
HI, i am building small search application with solr. i need help in designing the solr schema. data structure is like one to many. when user search text matches with parent document fields, system should not display any child fields information. when user search text matches with child document

Re: Data Import Handler - Multivalued fields - splitBy

2016-02-27 Thread saravanan1980
It's resolved after changing my column name..its all case sensitive... -- View this message in context: http://lucene.472066.n3.nabble.com/Data-Import-Handler-Multivalued-fields-splitBy-tp4243667p4260301.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Data Import Handler - Multivalued fields - splitBy

2016-02-27 Thread saravanan1980
I am also having the same problem. Have you resolved this issue? "response": { "numFound": 3, "start": 0, "docs": [ { "genre": [ "Action|Adventure", "Action", "Adventure" ] }, { "genre": [ "Drama|Suspens

Re: New comer - Benoit Vanalderweireldt

2016-02-27 Thread Tomás Fernández Löbbe
Yes, you can create a new Jira if there isn't one already. I believe you can create a new pull request with the Jira number in the title, and that gets automatically appended to the Jira issue. Other option is to create a patch and upload it to the Jira manually. On Sat, Feb 27, 2016 at 11:52 AM,

Re: New comer - Benoit Vanalderweireldt

2016-02-27 Thread Benoit Vanalderweireldt
Thank you guys, I have choose to add a test cases class after reading the code coverage report, I have pushed a first pull requests adding test cases for org.apache.solr.util.hll.NumberUtil (GitHub PR ). What I should do next, should I create a ne

Re: Problem using splitBy to populate a multi valued field

2016-02-27 Thread saravanan1980
Hi, Is that the below issue resolved for you? I am also having the same problem. Please let me know, how did you resolve this issue? Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Problem-using-splitBy-to-populate-a-multi-valued-field-tp4101770p4260275.html Sent

Re: Problem using splitBy to populate a multi valued field

2016-02-27 Thread saravanan1980
Hi, Is that the below issue resolved for you? I am also having the same problem. Please let me know, how did you resolve this issue? Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Problem-using-splitBy-to-populate-a-multi-valued-field-tp4101770p4260276.html Sent from

Re: Capture facets and its values in output and modify them

2016-02-27 Thread Mark Robinson
Hi Binoy, Greatly appreciate your quick response. Both posts were very helpful. Thanks! Mark On Sat, Feb 27, 2016 at 3:31 AM, Binoy Dalal wrote: > Here's the code snippet for highlighting but you just replace highlighting > with 'facet' adn do what you want with it. > > public void process(Res

Re: Solr regex documenation

2016-02-27 Thread Anil
Thanks Jack. On 27 February 2016 at 20:41, Jack Krupansky wrote: > See: > > https://lucene.apache.org/core/5_5_0/core/org/apache/lucene/search/RegexpQuery.html > > https://lucene.apache.org/core/5_5_0/core/org/apache/lucene/util/automaton/RegExp.html > > I vaguely recall a Jira about regex not w

Re: Solr regex documenation

2016-02-27 Thread Jack Krupansky
See: https://lucene.apache.org/core/5_5_0/core/org/apache/lucene/search/RegexpQuery.html https://lucene.apache.org/core/5_5_0/core/org/apache/lucene/util/automaton/RegExp.html I vaguely recall a Jira about regex not working at all in Solr. I don't recall reading about a resolution. -- Jack Krupa

Re: Escaping characters in a nested query

2016-02-27 Thread Jamie Johnson
Thanks Mikhail, I'll give this a try. On Feb 27, 2016 5:27 AM, "Mikhail Khludnev" wrote: > Hello, > > I suggest q=_query_:{!lucene v=$subq}&subq=my_awesome:less%20pain&... > or even starting for some version (I don't remember) _query_ pseudo field > is not necessary ie q=foo +bar {!lucene > v=$su

Solr regex documenation

2016-02-27 Thread Anil
Hi, Can some one point me to the solr regex documentation ? i read it supports all java regex features. i tried ^ and $ , seems it is not working. Thanks, Anil

Re: Escaping characters in a nested query

2016-02-27 Thread Mikhail Khludnev
Hello, I suggest q=_query_:{!lucene v=$subq}&subq=my_awesome:less%20pain&... or even starting for some version (I don't remember) _query_ pseudo field is not necessary ie q=foo +bar {!lucene v=$subq}&subq=my_awesome:less%20pain& On Fri, Feb 26, 2016 at 10:38 PM, Jamie Johnson wrote: > When usi

Re: Capture facets and its values in output and modify them

2016-02-27 Thread Binoy Dalal
Here's the code snippet for highlighting but you just replace highlighting with 'facet' adn do what you want with it. public void process(ResponseBuilder arg0) throws IOException { NamedList nl = arg0.rsp.getValues(); SimpleOrderedMap sop = (SimpleOrderedMap) nl.get("highlighting");

Re: Disable phrase search in edismax?

2016-02-27 Thread Binoy Dalal
There's also an autogeneratephrasequeries parameter that goes with your field definitions in the schema. Make sure that is set to false. On Sat, 27 Feb 2016, 03:56 Ahmet Arslan wrote: > > > Hi, > > If you don't set (phrase fields) pf* parameters, phrase creation is > automatically disabled, no?

Re: Capture facets and its values in output and modify them

2016-02-27 Thread Binoy Dalal
Take a look here: https://github.com/lttazz99/SolrPluginsExamples/blob/master/src/main/java/component/ComponentDemo.java I've uploaded an example of writing a search component. All you have to do is get the facet object from the solr response and then work in it. I have done something similar with

Capture facets and its values in output and modify them

2016-02-27 Thread Mark Robinson
Hi, I have a requirement to capture facet fields in the output and append an additional data to each of the facet values before the final output (along with the results as well as the facets and values) is send back so that a middle layer can use this additional value added. I read that a custom s