Many thanks Upayavira and Chris
Makes a lot of sense.
Thanks very much guys.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Beginner-Question-about-Types-and-Parent-Child-Definitions-in-Solr-Schema-xml-tp4038209p4038233.html
Sent from the Solr - User mailing list
efine "Posts" to be child of
>"Users". Can't find any docs on how to do this
>
>
>thanks in advance
>
>
>
>
>
>--
>View this message in context:
>http://lucene.472066.n3.nabble.com/Beginner-Question-about-Types-and-Paren
>t-Child-Definitions-in-Solr-Schema-xml-tp4038209.html
>Sent from the Solr - User mailing list archive at Nabble.com.
ects, and Posts, but make it so that if
> I
> search "foo", then it searches Users with name "foo" and posts that have
> "foo" in their text.
>
> #2)
> Same scenario as above, I want to be able to define "Posts" to be child
> of
> &quo
hanks in advance
--
View this message in context:
http://lucene.472066.n3.nabble.com/Beginner-Question-about-Types-and-Parent-Child-Definitions-in-Solr-Schema-xml-tp4038209.html
Sent from the Solr - User mailing list archive at Nabble.com.
On Jul 20, 2010, at 6:14 AM, Bilgin Ibryam wrote:
So I assume that storing entity each field in as a separate index
field is
correct, since they will get different scoring.
Just to get the terminology right... to use dismax, *index* each field
separately. Whether a field is *stored* or no
> Is it possible to use dismax query parser using solrJ,
> since this is how I'm going to access solr?
Sure it is possible. SolrQuery.setQueryType("dismax") is equals to
&defType=dismax.
More permanent way: You can define your dismax parameters (fields and boost
weights) in solrconfig.xml, and
t;
> >> 1. I think to create an index having the same fields, because each
> >> field
> >> needs different priority during searching.
> >>
> >> 2. And then do the search with a query like this:
> >> name:search_string^1.3 OR categpry:search_string^1.2
en do the search with a query like this:
>> name:search_string^1.3 OR categpry:search_string^1.2 OR
>> description:search_string^1.1
>>
>> Is this the right approach to model the index and search query?
>>
>> Thanks in advance.
>> Bilgin
>
>
>
--
View this message in context:
http://lucene.472066.n3.nabble.com/Beginner-question-tp980695p980819.html
Sent from the Solr - User mailing list archive at Nabble.com.
Consider using the dismax query parser instead. It has more
sophisticated capability to spread user queries across multiple fields
with different weightings.
Erik
On Jul 20, 2010, at 4:34 AM, Bilgin Ibryam wrote:
Hi all,
I have two simple questions:
I have an Item entity with id
Hi all,
I have two simple questions:
I have an Item entity with id, name, category and description fields. The
main requirements is to be able to search in all the fields with the same
string and different priority per field, so matches in name appear before
category matches, and they appear befo
10 matches
Mail list logo