Hi. In my document, I have data like the cost of the lot and the type of lot. One document can have several values Party and Party Type. For example, the first document will have the value Party as the type Pramod and Party as the client. The same document will have the value of the Party as XYZ and the type of Party as a supplier. I need to design the circuit in such a way that I can request the entire document, where client = pramod. I can do this by setting the two fields in the solr schema as client.name and the provider name. However, the problem is that the set of values for the batch type is not defined, and new values are likely to be added in the future.
, , . . , :
+PartyValue:Pramod +PartyType:Supplier
Solr .
:
PartyValue. , , , multiValued = true.
+ combinationField: ( pramod)
, , A, - B; , / A/B.
, 3- document id Party Value Party Type. 3 . 1- : 1 : Pramod : . 2- : : 1 : Raj Party : . 3- : 2 : Pramod : . , SQL, Party Value Pramod Party Type as Client.
solr, Solr. 2 solr. Party Party + Pramod + , solr , Pramod ,
Source: https://habr.com/ru/post/1756176/More articles:reading line from resx file sharpdevelop C # - c #Downloading a 32-bit or 64-bit parallel COM DLL depending on the bit with which the application is running - manifestHow to make jQuery autocomplete do a search () when a user falls into submit - javascriptUsing Apex Data Loader to load records into an object with a master data ratio - csvRename Unit Test when renaming a Visual Studio class - unit-testing"Ресурс с именем {Locator} не найден" Ошибка при использовании пользовательского управления mvvm-light - wpfКак бы я обрезал вкладку в окно автозаполнения JQuery? - javascriptHow to programmatically scroll a TreeView control? - c #How to add script onLoad? - javascriptXML root node with slash ... inexplicable? - xmlAll Articles