solrnet - Advanced Search Option in Solr corresponding to DtSearch options -
we replacing search , indexing module in application dtsearch solr using solrnet .net solr client library.
we relatively new solr/lucene , need help/direction understand more advanced search options in solr.
the current application supports next search options using dtsearch:
1)word(s) or phrase
2)exact words or phrases
3)not these words or phrases
4)one or more of words("a" or "b" or "c")
5)proximity of word n words of word
6)numeric range - - to
7)option
. stemming(search* finds searching or searches)
. synonym(search& finds seek or look)
. fuzzy within n letters(p%arts finds paris)
. phonic homonyms(#smith finds smithe , smythe)
as illustration search query gets generated posted dtsearch below utilize case:
search phrase: generic collection
exact phrase: linq
not these words: sql
one or more of these words: icollection or arraylist or hashtable
proximity: csharp within 4 words of language
options:
a. stemming
b. synonym
c. fuzzy within 2 letters
d. phonic homonyms
search query: generic* collection* generic& collection& #generic #collection g%%eneric c%%ollection "linq" -sql icollection or arraylist or hashtable csharp w/4 language
we have been able simple searches(singular term search in file content) highlights solr. need replace these options solr/lucene.
can provide directions on what/where should looking.
word(s) or phrase solr provides back upwards query on fields , across fields variable boost command relevancy. solr provides wide variation of queries phrase query, wildcard, prefix matching
exact words or phrases can customize solr handle phrase matches , exact word matches.
not these words or phrases negative queries - solr provides back upwards boolean operators include negative queries using either - or not
one or more of words("a" or "b" or "c") boolean operators - solr provides back upwards boolean operators include and (+) or syntax
proximity of word n words of word promixity search - solr supports proximity queries ~ operator followed slop (proximity difference)
numeric range - - range queries - solr supports range queries both numbers , date.
option
stemming(search* finds searching or searches) stemmer - solr has inbuilt stemmers can included straight out of box. allows ability define new stemmer detail language analysis back upwards various languages
synonym(search& finds seek or look) synonym - solr supports synonym handling through file based approach.
fuzzy within n letters(p%arts finds paris) fuzzy search - solr supports fuzzy based searches ~ operator
phonic homonyms(#smith finds smithe , smythe) phonetic search - solr provides phonetic searches allowing match misspell words. has out of box back upwards 4 filters can customized.
complete list of analyzerstokenizerstokenfilters
solr solrnet fuzzy-search stemming advanced-search
No comments:
Post a Comment