I have a little question concerning statistics on a request:

I have a field defined like that:
<field name="ic" type="text_classification" indexed="true" stored="true" multiValued="true"/>

<fieldType name="text_classification" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="true">
 <analyzer type="index">
  <tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" enablePositionIncrements="true"/>
  <filter class="solr.LowerCaseFilterFactory"/>
 </analyzer>
 <analyzer type="query">
  <tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" enablePositionIncrements="true"/> <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
  <filter class="solr.LowerCaseFilterFactory"/>
 </analyzer>
</fieldType>

Date sample for this field:
<arr name="ic">
 <str>A23L1/22066</str>
 <str>A23L1/227</str>
 <str>A23L1/231</str>
 <str>A23L1/2375</str>
</arr>

My question is:
Is it possible to have frequency of terms for the whole result of the initial user's request?

Thanks a lot,
Bruno

Le 23/10/2013 18:12, Timothy Potter a écrit :
Yes, absolutely you resend the q= each time, optionally with any facets
selected by the user using fq=


On Wed, Oct 23, 2013 at 10:00 AM, Bruno Mannina <bmann...@free.fr> wrote:

Hello Tim,

Yes solr's facet could be a solution, but I need to re-send the q= each
time.
I'm asking me just if an another solution exists.

Facet seems to be the good solution.

Bruno



Le 23/10/2013 17:03, Timothy Potter a écrit :

  Hi Bruno,
Have you looked into Solr's facet support? If I'm reading your post
correctly, this sounds like the classic case for facets. Each time the
user
selects a facet, you add a filter query (fq clause) to the original query.
http://wiki.apache.org/solr/**SolrFacetingOverview<http://wiki.apache.org/solr/SolrFacetingOverview>

Tim


On Wed, Oct 23, 2013 at 8:16 AM, Bruno Mannina <bmann...@free.fr> wrote:

  Dear Solr User,
We have to do a new web project which is : Connect our SOLR database to a
web plateform.

This Web Plateform will be used by several users at the same time.
They do requests on our SOLR and they can apply filter on the result.

i.e.:
Our SOLR contains 87M docs
An user do requests, result is around few hundreds to several thousands.
On the Web Plateform, user will see first 20 results (or more by using
Next Page button)
But he will need also to filter the whole result by additional terms.
(Terms that our plateform will propose him)

Is SOLR can create temporary index (manage by SOLR himself during a web
session) ?

My goal is to not download the whole result on local computer to provide
filter, or to re-send
the same request several times added to the new criterias.

Many thanks for your comment,

Regards,
Bruno



Reply via email to