Re: Indexed=false for a field,but still able to search on field.
Ashish, Fast search depends on indexing the data. If it is not indexed, then the search becomes a full table scan which is much slower. Cheers -- Rick On August 29, 2017 11:57:44 AM MDT, AshB wrote: >Hi, > >Thanks ,got this issue is happening because of docValues=true. > >Please elaborate on "full table scan search" > >Regards >Ashish > > > >-- >View this message in context: >http://lucene.472066.n3.nabble.com/Indexed-false-for-a-field-but-still-able-to-search-on-field-tp4352338p4352599.html >Sent from the Solr - User mailing list archive at Nabble.com. -- Sorry for being brief. Alternate email is rickleir at yahoo dot com
Re: Indexed=false for a field,but still able to search on field.
Hi, Thanks ,got this issue is happening because of docValues=true. Please elaborate on "full table scan search" Regards Ashish -- View this message in context: http://lucene.472066.n3.nabble.com/Indexed-false-for-a-field-but-still-able-to-search-on-field-tp4352338p4352599.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Indexed=false for a field,but still able to search on field.
#1 If you will apply seach on this field in the Solr Admin Panel, no result found. But you can see this field on doc there. >> Yes, because this field is stored, you can see in the search result. #2 . Its searchable and can do faceting also. >> Yes, correct but if you want to use it for searching, put indexed="true" otherwise it will be full table scan search and will be slow. Thnx On Tue, Aug 29, 2017 at 2:48 AM, Renuka Srishti wrote: > Hii, > > I have tried two scanarios: > >1. I have tried stored="true"/> and docValues is not set anything. >2. I have tried stored="true"/> and docValues is set true. > > #1. You can not search directly that field, but when you apply search in > any other field of that doc, it will show you that field in the result. > > You can not do faceting on this field as well. > >If you will apply seach on this field in the Solr Admin Panel, no > result found. But you can see this field on doc there. > > #2. Its searchable and can do faceting also. > > > Please correct me, if I am going wrong. > > > Thanks > > Renuka Srishti > > > > On Tue, Aug 29, 2017 at 1:06 AM, AshB wrote: > > > Hi, > > > > Yes docValues is true for fieldType > > > > > docValues="true"/> > > > > > > > > > > > > -- > > View this message in context: http://lucene.472066.n3. > > nabble.com/Indexed-false-for-a-field-but-still-able-to-search-on-field- > > tp4352338p4352442.html > > Sent from the Solr - User mailing list archive at Nabble.com. > > >
Re: Indexed=false for a field,but still able to search on field.
Hii, I have tried two scanarios: 1. I have tried and docValues is not set anything. 2. I have tried and docValues is set true. #1. You can not search directly that field, but when you apply search in any other field of that doc, it will show you that field in the result. You can not do faceting on this field as well. If you will apply seach on this field in the Solr Admin Panel, no result found. But you can see this field on doc there. #2. Its searchable and can do faceting also. Please correct me, if I am going wrong. Thanks Renuka Srishti On Tue, Aug 29, 2017 at 1:06 AM, AshB wrote: > Hi, > > Yes docValues is true for fieldType > > docValues="true"/> > > > > > > -- > View this message in context: http://lucene.472066.n3. > nabble.com/Indexed-false-for-a-field-but-still-able-to-search-on-field- > tp4352338p4352442.html > Sent from the Solr - User mailing list archive at Nabble.com. >
Re: Indexed=false for a field,but still able to search on field.
Hi, Yes docValues is true for fieldType -- View this message in context: http://lucene.472066.n3.nabble.com/Indexed-false-for-a-field-but-still-able-to-search-on-field-tp4352338p4352442.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Indexed=false for a field,but still able to search on field.
Is docValues enabled (this happens by default in some versions)? I think I've seen this enable searching on a field. If that's the root of the problem, let us know since it's trappy and we should discuss this on the dev list. Best, Erick On Sun, Aug 27, 2017 at 10:58 PM, AshB wrote: > Hi, > > I created a field as,expecting I won't be able to search on it > > . > > But i am able to search on it.Sample query below > > fileName:"ipgb20080916_1078.xml" > > What is wrong here.I am not doing any copy of this field > > Solrversion:6.5.1 > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Indexed-false-for-a-field-but-still-able-to-search-on-field-tp4352338.html > Sent from the Solr - User mailing list archive at Nabble.com.