On 05/27/2014 02:29 PM, Jack Krupansky wrote:
You might consider an update request processor as an alternative. It runs on the server and might be simpler. You can even use the stateless script update processor to avoid having to write any custom Java code.

-- Jack Krupansky

That's an interesting approach. I'd consider it.


On 05/27/2014 02:04 PM, Sujit Pal wrote:
Have you looked at IndexSchema? That would offer you methods to query index
metadata using SolrJ.

http://lucene.apache.org/solr/4_7_2/solr-core/org/apache/solr/schema/IndexSchema.html

-sujit
The question was essentially how to get IndexSchema for Solrj client,
without needing to parse the XML file, hopefully.


On 05/27/2014 02:16 PM, Ahmet Arslan wrote:
Hi,

https://wiki.apache.org/solr/LukeRequestHandler   make sure numTerms=0 for 
performance

I'm afraid this won't work because when the index is empty, Luke won't return any fields. And for the fields that are written, this method returns more information than I'd like to know.
I just want to know if a field is valid or not.


Kuro

Reply via email to