Jason One way is simply to use a multi value field. But this is not officially a vector, and the order might not be guaranteed. I suspect you can just post a document with the values, and see them in order.
Search for a single value would not be very useful. Another way is to choose a textual representation for the vector, and save it as a string (not tokenized). This is more complicated. What's the use case? Do you want the vector to be searchable? Cheers -- Rick On April 12, 2018 8:44:10 PM EDT, Jason <hialo...@gmail.com> wrote: >Hi,I have specific documents that consist of integer vector with fixed >length.But I have no idea how to index integer vector and search >similar >vector.Which fieldType should I use to solve this problem?And can I get >any >example for how to search? > > > >-- >Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html -- Sorry for being brief. Alternate email is rickleir at yahoo dot com