Re: How to specify custom update chain in a SolrJ request

2019-01-29 Thread Chris Wareham
Field("id", user.key().toString()); document.addField("applications", Collections.singletonMap("set", user.value())); request.add(document); request.process(solrClient); } solrClient.commit(); On 29/01/2019 16:27, Chris Wareham wrote: I'm trying t

How to specify custom update chain in a SolrJ request

2019-01-29 Thread Chris Wareham
I'm trying to update records in my Solr core, and have configured a custom update chain that skips updates to records that don't exist: true true My SolrJ update code is currently: for (Map.Entry user : users.entrySet()) { SolrInputDocument document = new S

Re: PatternReplaceFilterFactory problem

2019-01-29 Thread Chris Wareham
x27;re searching the field "text", which is of type text_general. That may be the source of your problem, but if looking into that doesn't help send the definition of text_general as well. Hope that helps! -Scott On Mon, Jan 28, 2019 at 6:02 AM Chris Wareham < chris.ware...@

PatternReplaceFilterFactory problem

2019-01-28 Thread Chris Wareham
I'm trying to index some data which often includes domain names. I'd like to remove the .com TLD, so I have modified the text_en field type by adding a PatternReplaceFilterFactory filter. However, it doesn't appear to be working as a search for "text:(mydomain.com)" matches records but "text:(m

Re: indexed and stored for fields that are sources of a copy field

2018-10-22 Thread Chris Wareham
lting Support Training - http://sematext.com/ On 22 Oct 2018, at 15:22, Chris Wareham wrote: Hi folks, I have a number of fields defined in my managed-schema file that are used as the sources for a copy field: Can I set both the indexed and stored values to false for the

indexed and stored for fields that are sources of a copy field

2018-10-22 Thread Chris Wareham
Hi folks, I have a number of fields defined in my managed-schema file that are used as the sources for a copy field: stored="true"/> stored="true" multiValued="true"/> stored="true" multiValued="true"/> stored="false" multiValued="true"/> Can I set both the indexed and