You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by r tompkins <to...@gmail.com> on 2007/05/03 17:28:38 UTC

Using fields to create new queries

Hello all,
I am trying to reuse fields to create new search queries.

Let me explain

when solr is processing the fields to figure out where to put the doc in the
tree, it proccesses the indexable fields and removes the stops words. This
stripped down set of keyword is passed to some other function which places
it in the correct part of the search tree.

I would like to have solr sort those keywords (i.e. with stop words removed)
and store them as another field (keywords).

This will allow me to use those keywords to find other documents related to
that document.

Is the possible and if so where should I start.

Thanks in advance

Re: Using fields to create new queries

Posted by Chris Hostetter <ho...@fucit.org>.
: when solr is processing the fields to figure out where to put the doc in the
: tree, it proccesses the indexable fields and removes the stops words. This
: stripped down set of keyword is passed to some other function which places
: it in the correct part of the search tree.
:
: I would like to have solr sort those keywords (i.e. with stop words removed)
: and store them as another field (keywords).

i'm not sure i understand your question ... you have some field A, you
have it configured to be indexed, with a tokenizer, and a Stop words
filter, so you add some docs with values for field A, and they get indexed
... what do you mean "I would like to have solr sort those keywords and
store them as another field" ... they're already in a field, how do you
want this other field to be differnet?


-Hoss