Hi, Have you considered contributing the deep position info patch back to Apache? It could be useful to enhance highlighting code, external in-doc highlighters etc.
-- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com Solr Training - www.solrtraining.com 7. feb. 2013 kl. 12:07 skrev Alan Woodward <a...@flax.co.uk>: > Hi Soumyanayan, > > We developed a parser that converts dtSearch queries to Lucene queries, with > some Solr integration - see > http://www.flax.co.uk/blog/2012/04/24/dtsolr-an-open-source-replacement-for-the-dtsearch-closed-source-search-engine/ > > At the moment it relies on an unreleased version of Lucene/Solr, because we > needed to get some extra data from the index that wasn't available in trunk > for our use case, but it can probably be tweaked to just use vanilla solr. > Feel free to contact me for more details! > > Alan Woodward > www.flax.co.uk > > > On 6 Feb 2013, at 16:09, Soumyanayan Kar wrote: > >> Hi, >> >> >> >> We are replacing the search and indexing module in an application from >> DtSearch to Solr using solrnet as the .net Solr client library. >> >> >> >> We are relatively new to Solr/Lucene and would need some help/direction to >> understand the more advanced search options in Solr. >> >> >> >> The current application supports the following 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 with n words of another word >> >> 6)Numeric range - From - 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 also finds Smithe and Smythe) >> >> >> >> As an example the search query that gets generated to be posted to DtSearch >> for the below use case: >> >> 1. Search Phrase: generic collection >> >> 2. Exact Phrase: linq >> >> 3. Not these words: sql >> >> 4. One or more of these words: ICollection or ArrayList or >> Hashtable >> >> 5. Proximity: csharp within >> 4 words of language >> >> 6. 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 to do simple searches(singular term search in a file >> content) with highlights with Solr. Now we need to replace these options >> with Solr/Lucene. >> >> >> >> Can anybody provide some directions on what/where should we be looking. >> >> >> >> Thanks & Regards, >> >> >> >> Soumya. >> >> >> >> >> >