When solrcloud will support join between two collections

2019-03-05 Thread Jie Luo
Hi all,

We are developing our search engine using solrcloud with multiple shards. We 
would like to join two collections. As far as I know joining two collections 
only works on standalone indexes, but does not work on distributed indexes such 
as solrcloud environment.

 I would like to know if you intend to extend the join functionality to 
solrcloud environment. If so, any time frame for the support


Thanks very much

Jie Luo

solr search Ontology based data set

2019-03-13 Thread Jie Luo
Hi all, 

I have several ontology based data sets, I would like to use solr as search 
engine. Solr document is flat document. I would like to know how it is the best 
way to handle the search.

Simple search is fine. One possible search I will need to retrieve the ontology 
tree or graph

Best regards

Jie

Update documents cause multivalue fields unexpected behaviour

2019-05-04 Thread Jie Luo
Dear solr user,

I have processes, first process is to build the SolrDocuments and indexes, 
other processes try to update the other fields of the solrdocuments and their 
indexes. Then I noticed that  when I search  previous indexed multivalue fields 
(not stored), it returns wrong results (fewer data). I tested with five 
documents, it will only return one documents with (field:*) search. Before I 
run the other processes, the behaviour is fine return 5 documents. However, it 
seems to me that single valued fields worked fine

Best Regards

Jie

Re: Update documents cause multivalue fields unexpected behaviour

2019-05-07 Thread Jie Luo
Hi all,

For the fields that are set as stored true,  query works fine, but for fields 
that are set as stored false, the query does not work after the documents are 
updated.

SolrInputDocument solrInputDocument = new SolrInputDocument();
solrInputDocument.addField(“id”,”somevalidId”);

Map fieldModifier = new HashMap<>(1);
fieldModifier.put("set", “some value");
solrInputDocument.addField(“aNewField", fieldModifier);

Regards

Jie




> On 4 May 2019, at 14:25, Jörn Franke  wrote:
> 
> Hi,
> 
> Are you using atomic updates for your documents ? If not then if you change 
> one value it will override the whole document.
> 
> Best regards
> 
>> Am 04.05.2019 um 12:57 schrieb Jie Luo :
>> 
>> Dear solr user,
>> 
>> I have processes, first process is to build the SolrDocuments and indexes, 
>> other processes try to update the other fields of the solrdocuments and 
>> their indexes. Then I noticed that  when I search  previous indexed 
>> multivalue fields (not stored), it returns wrong results (fewer data). I 
>> tested with five documents, it will only return one documents with (field:*) 
>> search. Before I run the other processes, the behaviour is fine return 5 
>> documents. However, it seems to me that single valued fields worked fine
>> 
>> Best Regards
>> 
>> Jie