Re: How to create indexes for CSV dataset (with schema) in Java

2023-01-27 Thread marc nicole
I don't understand something, does Solr make the indexing automatically when the data are injected into it through a POST request (so that when querying the data from Solr (e.g. through this query http://localhost:8983/solr/#/books/query?q=*:*&fq=price:%5B7%20TO%20*%5D) the query is achieved faster

Re: How to create indexes for CSV dataset (with schema) in Java

2023-01-27 Thread Jan Høydahl
Start Solr bin/solr start -c Create collection bin/solr create -c books Inject some CVS data: https://github.com/apache/solr/blob/main/solr/example/exampledocs/books.csv bin/post -c books example/exampledocs/books.csv Query to see only books with price from $7: http://localhost:8983/solr/#/book

Re: How to create indexes for CSV dataset (with schema) in Java

2023-01-26 Thread marc nicole
In, java i want to create index of a collection named person and say an "Age" attribute for the values between 20 and 35. so that when i query Solr on those values it retrieves them quickly how to do that ? Le ven. 27 janv. 2023 à 03:42, Shawn Heisey a écrit : > On 1/26/2023 2:22 PM, marc nicole

Re: How to create indexes for CSV dataset (with schema) in Java

2023-01-26 Thread Shawn Heisey
On 1/26/2023 2:22 PM, marc nicole wrote: Hello - I want to know how it is possible to create indexes for a certain attribute (and its different values) of a document, using Java. This is a pretty vague question.  We need details of exactly what you're trying to do and what the environment look