lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhaoxueqing" <zhaoxueq...@g-data.com.cn>
Subject Re: Optimum way to find all document without particular field
Date Wed, 04 Mar 2009 05:54:41 GMT
all the document?

how about to create a new index which hold the field all  which you want to find.?

like database

every document like a table

you can not search a field from all table directly.

but

you can build a view use union. or a new table hold  the field you need only.



----- Original Message ----- 
From: "Allahbaksh Mohammedali Asadullah" <Allahbaksh_Asadullah@infosys.com>
To: <java-user@lucene.apache.org>
Sent: Wednesday, March 04, 2009 1:42 PM
Subject: Optimum way to find all document without particular field


Hi,
What is the optimum way in which I can find all the document which has particular field in
it.

Example
I want to find all the document in which the field text is not null.

Regards,
Allahbaksh

Allahbaksh Mohammedali Asadullah,
Software Engineering & Technology Labs,
Infosys Technolgies Limited, Electronics City,
Hosur Road, Bangalore 560 100, India.
*Board: +91-80-28520261 | Extn: 53915 | Direct: 41173915.
Fax: +91-80-28520362 | Mobile: +91-9845505322.
http://setlabs/slim/
http://allahbaksh.blogspot.com<http://allahbaksh.blogspot.com/>





**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are not 
to copy, disclose, or distribute this e-mail or its contents to any other person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
every reasonable precaution to minimize this risk, but is not liable for any damage 
you may sustain as a result of any virus in this e-mail. You should carry out your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
Mime
View raw message