Re: How to index and search (integer or float) vector.

2018-04-13 Thread Alexandre Rafalovitch
I think that perhaps something along PointType or IntPointField/FloatPointField would be the right answer to store things: https://lucene.apache.org/solr/guide/7_3/field-types-included-with-solr.html On the other hand, I am not sure what "searching similar vectors" mean for you, I suspect there

Re: How to index and search (integer or float) vector.

2018-04-13 Thread Rick Leir
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

How to index and search (integer or float) vector.

2018-04-12 Thread Jason
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: