Do I need first search whole document Id and next between its paragraphs
stored in separated docs?
--
View this message in context:
http://lucene.472066.n3.nabble.com/split-document-or-not-tp4066170p4066751.html
Sent from the Solr - User mailing list archive at Nabble.com.
But in this case phrase frequence per whole document will be not taken into
accout because document is splitted by subdocuments. Or it is not true?
--
View this message in context:
http://lucene.472066.n3.nabble.com/split-document-or-not-tp4066170p4066734.html
Sent from the Solr - User mailing
You may wish to explore the concept of using the Result Grouping (Field
Collapsing) feature in which your paragraphs are individual documents that
share a field to group them by (the ID of the document/book/article/whatever).
http://wiki.apache.org/solr/FieldCollapsing
This will net you absolut
Thanks, Alexandre.
But I need to know in which paragraph is matched the request. I need it
because paragraphs are binded to some extra data that I need to output on
result page. So I need to know paragraphs is'd. How to bind such attribute
to multivalued field?
--
View this message in context:
On Sun, May 26, 2013, at 10:41 PM, Oleksiy Druzhynin wrote:
> I have document divider by paragraphs. How better to add it to Solr?
> As single str field:
>
>
> paragraph1
> paragraph2
> paragraph3
>
>
> Or multivalued fields:
> paragraph1
> paragraph2
> paragraph3
Depends what
That depends on what you are trying to search. Start your schema
design from your _search_ requirements, not your document
requirements.
See the presentation by Gilt on how they went through different
iterations on their document schema design:
http://www.slideshare.net/trenaman/lucene-revolution-