lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prescott Nasser <>
Subject RE: [Lucene.Net] Extracting IsStored fields from a search result
Date Thu, 12 Jan 2012 00:16:51 GMT
We're totally aware of the issues with unfortunately we dont have a fix at the moment,
but I know it's on the roadmap I think for 3.0.3

Sent from my Windows Phone
From: Chris Lomax
Sent: 1/11/2012 12:52 PM
Subject: [Lucene.Net] Extracting IsStored fields from a search result

I am trying to extract anything that is a field "IsStored" for use in
filtering lists

e.g. When you access an ecommerce site and you get the filter lists down
the left hand side, I wanted to store anything that I wanted filtering
and when I performed a search I wanted to create a lookup list from
these IsStored values.

I started something yesterday where I iterated over the fields returned
from the search results and picked out anything that was IsStored but I
feel there must be a more efficient way of doing this. I can not find
any documentation relating to this type of extraction.

Could anyone offer any advice on this?

Also, the dll does not work on as there are fields named the same
in the classes. For example, "ScoreDocs" in the
Lucene.Net.Search.TopDocs has a variable and a property declaration but
they are both set to Public so .Net cannot see the property. I had to
modify the class so the variable was private.



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message