karthikdavanam
karthikdavanam

Reputation: 45

lucene.net + search only first page in the file

i have requirement where i need to search only the first page of the file. Currently i am using lucene.net with WPF for creating the indexes and searching the entire content of the file. i am able to return the results succefully. Now i need to search only the first page of the file i.e. Each document will have a standard proforma which will have a specific location where keywords are assigned. So can someone please guide me on this !!!

Upvotes: 1

Views: 128

Answers (1)

cellik
cellik

Reputation: 2136

You may use different fields when indexing different parts of the document and use the field names when you search.

See this document that explains fields in lucene

Upvotes: 1

Related Questions