Search Strategy With Lucene.Net?

The simplest way of taking user input is to parse it with one of the provided QueryParsers found in Lucene.Net. QueryParsers This will at least break down the phrase they have entered into something that will do a proper search against the index From this you will get a Query object. You can then combine that further with additional criteria such as attribute queries like "Black" on other fields (TermQuery), or range queries (NumericRangeQuery).

These can then be combined together in a BooleanQuery If you are after actually converting the under $50 in the phrase to a range query then you could try parse these phrases yourself (not an easy task), but I'm not aware of any lucene features/contribs that would do this out of the box for you I pre-process the user input to do term replacements on it and to calculate synonyms from the wordnet database myself.

The simplest way of taking user input is to parse it with one of the provided QueryParsers found in Lucene.Net.QueryParsers. This will at least break down the phrase they have entered into something that will do a proper search against the index. From this you will get a Query object.

You can then combine that further with additional criteria such as attribute queries like "Black" on other fields (TermQuery), or range queries (NumericRangeQuery). These can then be combined together in a BooleanQuery. If you are after actually converting the under $50 in the phrase to a range query then you could try parse these phrases yourself (not an easy task), but I'm not aware of any lucene features/contribs that would do this out of the box for you.

I pre-process the user input to do term replacements on it and to calculate synonyms from the wordnet database myself.

Most sites use a textbox for query and a combobox for the range e.q. 0-50, 50-200 .

That doesn't really answer the question, they also use a browser – dnolan Jul 14 at 15:10.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions