You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by ManjuNadigar <ma...@gmail.com> on 2009/06/25 15:15:17 UTC

Indexing

In my Application currently I am indexing object with One Field[ID] to Hold
ID of the Object which is stored and attributes of Object into Another
Field[Content] to hold attribute information seperated by space and this
Field is tokenized. When I search for information related to the Object I
get result as ID and using that ID I fetech the information from backend and
I show it as search result.

Now there is requirement like for some user of the application who don't
have access to attributes in Object and search on that attribute
information, then Object should not be included in the result.

Can you please help me how to fix my current Indexing such way that when
search results hits the attribute which user not suppose see it,  then
object should be filtered.




-- 
View this message in context: http://www.nabble.com/Indexing-tp24203054p24203054.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: Indexing

Posted by Erick Erickson <er...@gmail.com>.
This is really a permissions problem, which has been discussed
frequently. I think you'd get farther faster by searching the mail
archive (see this page, near the bottom:
http://lucene.apache.org/java/docs/mailinglists.html
<http://lucene.apache.org/java/docs/mailinglists.html>and see if those
discussions help.

Best
Erick

On Thu, Jun 25, 2009 at 9:15 AM, ManjuNadigar
<ma...@gmail.com>wrote:

>
> In my Application currently I am indexing object with One Field[ID] to Hold
> ID of the Object which is stored and attributes of Object into Another
> Field[Content] to hold attribute information seperated by space and this
> Field is tokenized. When I search for information related to the Object I
> get result as ID and using that ID I fetech the information from backend
> and
> I show it as search result.
>
> Now there is requirement like for some user of the application who don't
> have access to attributes in Object and search on that attribute
> information, then Object should not be included in the result.
>
> Can you please help me how to fix my current Indexing such way that when
> search results hits the attribute which user not suppose see it,  then
> object should be filtered.
>
>
>
>
> --
> View this message in context:
> http://www.nabble.com/Indexing-tp24203054p24203054.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>