Maybe the http://wiki.apache.org/solr/LukeRequestHandler ?
On Wed, Feb 16, 2011 at 1:34 PM, Savvas-Andreas Moysidis <savvas.andreas.moysi...@googlemail.com> wrote: > There is probably a better and more robust way of doing this, but you could > make a request to /solr/admin/file/?file=schema.xml and parse the returned > xml? > > Does anyone else know of a better way to query Solr for its schema? > > Thanks, > - Savvas > > On 16 February 2011 11:34, Leonardo Souza <leonardo...@gmail.com> wrote: > >> Hi, >> >> We do have a validation layer for other purposes, but this layer do not >> know >> about the fields and >> i would not like to replicate this configuration. Is there any way to query >> the solr core about declared fields? >> >> thanks, >> >> [ ]'s >> Leonardo da S. Souza >> °v° Linux user #375225 >> /(_)\ http://counter.li.org/ >> ^ ^ >> >> >> >> On Wed, Feb 16, 2011 at 9:16 AM, Savvas-Andreas Moysidis < >> savvas.andreas.moysi...@googlemail.com> wrote: >> >> > Hi, >> > >> > If you have an Application layer and are not directly hitting Solr then >> > maybe this functionality could be implemented in Validation layer prior >> to >> > making the Solr call ? >> > >> > Cheers, >> > - Savvas >> > >> > On 16 February 2011 10:23, Leonardo Souza <leonardo...@gmail.com> wrote: >> > >> > > Hi, >> > > >> > > We are using solr 1.4 in a big project. Now it's time to make some >> > > improvements. >> > > We use the standard query parser and we would like to handle the >> > misspelled >> > > field names. >> > > The problem is that SolrException can not help to flag the problem >> > > appropriately because >> > > this exception is used for other problems during the query processing. >> > > >> > > I found some clue in SolrException.ErrorCode enumeration but did not >> > help. >> > > >> > > thanks in advance! >> > > >> > > [ ]'s >> > > Leonardo Souza >> > > °v° Linux user #375225 >> > > /(_)\ http://counter.li.org/ >> > > ^ ^ >> > > >> > >> >