Re: Search issue in the SOLR for few words

2020-11-03 Thread Erick Erickson
There is not nearly enough information here to begin to help you. At minimum we need: 1> your field definition 2> the text you index 3> the query you send You might want to review: https://wiki.apache.org/solr/UsingMailingLists Best, Erick > On Nov 3, 2020, at 1:08 AM, Viresh Sasalawad > wro

Re: Search Issue

2012-01-11 Thread findbestopensource
While indexing @ is removed. You need to use your own Tokenizer which will consider "@rohit" as one word. Another option is to break the tweet in to two fields, @ and the tweet. Index both the fields but don't use any tokenizer for the field " @". Just index as it is. While querying you need to se

Re: Search Issue with Indexed Docs

2010-03-06 Thread Devin Austin
On Sat, Mar 6, 2010 at 6:04 PM, Erick Erickson wrote: > Did you reindex all your data and commit it afterward? > > Erick > > On Sat, Mar 6, 2010 at 7:01 PM, Devin Austin > wrote: > > > On Sat, Mar 6, 2010 at 4:20 PM, Devin Austin > > wrote: > > > > > > > > > > > On Sat, Mar 6, 2010 at 12:13 PM,

Re: Search Issue with Indexed Docs

2010-03-06 Thread Erick Erickson
Did you reindex all your data and commit it afterward? Erick On Sat, Mar 6, 2010 at 7:01 PM, Devin Austin wrote: > On Sat, Mar 6, 2010 at 4:20 PM, Devin Austin > wrote: > > > > > > > On Sat, Mar 6, 2010 at 12:13 PM, Erick Erickson >wrote: > > > >> I think the root of your problem is the strin

Re: Search Issue with Indexed Docs

2010-03-06 Thread Devin Austin
On Sat, Mar 6, 2010 at 4:20 PM, Devin Austin wrote: > > > On Sat, Mar 6, 2010 at 12:13 PM, Erick Erickson > wrote: > >> I think the root of your problem is the string type of your default >> field. That type is untokenized, so if you indexed >> "my name is erick", the *only* thing that would mat

Re: Search Issue with Indexed Docs

2010-03-06 Thread Devin Austin
On Sat, Mar 6, 2010 at 12:13 PM, Erick Erickson wrote: > I think the root of your problem is the string type of your default > field. That type is untokenized, so if you indexed > "my name is erick", the *only* thing that would match > is searching for exactly that. Searching for "erick" wouldn't

Re: Search Issue with Indexed Docs

2010-03-06 Thread Erick Erickson
I think the root of your problem is the string type of your default field. That type is untokenized, so if you indexed "my name is erick", the *only* thing that would match is searching for exactly that. Searching for "erick" wouldn't match, nor anything besides the exact and entire value I su

Re: Search Issue with Indexed Docs

2010-03-06 Thread Devin Austin
On Sat, Mar 6, 2010 at 7:34 AM, Erick Erickson wrote: > At a guess, you're looking in the default field for the letter "i", which > has probably been removed at indexing time because it is a > stopword. Unless you specify a field (e.g. q=field:value), the search > goes against your default field (

Re: Search Issue with Indexed Docs

2010-03-06 Thread Erick Erickson
At a guess, you're looking in the default field for the letter "i", which has probably been removed at indexing time because it is a stopword. Unless you specify a field (e.g. q=field:value), the search goes against your default field (specified in schema). Two very useful tools are : the solr adm