hi all
i would like to let users make partial searches on my documents. let me
explain
i have a site in which i have some documents to store information like
title, category, number of pages, contents and so on. i want to make some
part of my documents invisible to users.
lets say i have 100 documents but for some fields on some documents, user
should log in to make a search, otherwise the field will be disabled for
search, but still the other fields will be visible for search...
i am not sure if i am clear enough so i wilk try to give you a detailed
exampe
doc1 doc 2 doc3
doc4
title X "Y" T
Z
category "A" K U
"S"
number of pages 4 6 9 1
content "some text" text letter "text
here"
so in this case values with quotes are hidden for users who didnt login to
site.
lets say a non-logged user makes a search in content field with query
text, i want him to see only doc2 in the serach results. however if a users
logs in before search and makes the same search, i want him to see doc1 doc2
and doc4 in the result list...
so to implement this feature, what should i do? i have some ideas like
adding a control statement before showing the results on php side but i am
concerned about search time as the total number of documents is a large
number.
any ideas?
-----
Zeki ama calismiyor... Calissa yapar...
--
View this message in context:
http://lucene.472066.n3.nabble.com/searching-documents-partially-tp3408429p3408429.html
Sent from the Solr - User mailing list archive at Nabble.com.