Re: why does the has to be indexed.

2013-06-24 Thread Jack Krupansky
If you use the edismax query parser, the "uf" parameter can be set to restrict the fields that the user can directly reference. -- Jack Krupansky -Original Message- From: Mysurf Mail Sent: Monday, June 24, 2013 11:51 AM To: solr-user@lucene.apache.org Subject: why does the has to be

Re: why does the has to be indexed.

2013-06-24 Thread Gora Mohanty
On 24 June 2013 21:21, Mysurf Mail wrote: > Currently, I cant describe my unique key with indexed false. > > As I understand from the docs the field attribute should be true > only if i want the field to be searchable or sortable. > > Let's say I have a schema with id and name only, wouldn't I wa

RE: why does the has to be indexed.

2013-06-24 Thread Michael Ryan
To enforce uniqueness, Solr needs to be able to search on the id to see if it is currently in the index. -Michael -Original Message- From: Mysurf Mail [mailto:stammail...@gmail.com] Sent: Monday, June 24, 2013 11:52 AM To: solr-user@lucene.apache.org Subject: why does the has to be ind