The data copied from title to content is exactly the strings that you
give. The data is copied around, then each field is analyzed. Changing
'title' from text to string makes no difference.

On Mon, Feb 15, 2010 at 6:48 AM, adeelmahmood <adeelmahm...@gmail.com> wrote:
>
> I am just trying to understand the difference between the two options to know
> which one to choose ..
> it sounds like I probably should just merge all data in the content field to
> maximize search results
>
>
> Erick Erickson wrote:
>>
>> The obvious answer is that you won't get any hits for terms
>> in titles when you search the content field.
>>
>> But that's not very informative. What are you trying to accomplish?
>> That is, what's the high-level issue you're trying to address with
>> a change like that?
>>
>> Best
>> Erick
>>
>> On Sun, Feb 14, 2010 at 9:02 PM, adeelmahmood
>> <adeelmahm...@gmail.com>wrote:
>>
>>>
>>> if this is my schema
>>>
>>> <field name="id" type="string" indexed="true" stored="true"
>>> required="true"
>>> />
>>> <field name="title" type="string" indexed="true" stored="true" />
>>> <field name="owner" type="string" indexed="true" stored="true" />
>>> <field name="status" type="string" indexed="true" stored="true" />
>>> <field name="category" type="string" indexed="true" stored="true" />
>>>
>>> with this one being the catch all field
>>> <field name="content" type="text" indexed="true" stored="false"
>>> multiValued="true"/>
>>>
>>> and I am copying all fields into the content field
>>>
>>> my question is .. what if instead of that I change the title field to be
>>> text as well and dont copy that into content field but still copy
>>> everything
>>> else (all string fields) to content field .. exactly what difference will
>>> that make ..
>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/schema-design---catch-all-field-question-tp27588936p27588936.html
>>> Sent from the Solr - User mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>
> --
> View this message in context: 
> http://old.nabble.com/schema-design---catch-all-field-question-tp27588936p27594836.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to