lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Benedetti <benedetti.ale...@gmail.com>
Subject Re: indexed=false
Date Wed, 22 Jul 2015 14:17:24 GMT
I find so hard to believe you can search without the inverted index :)

Are you sure you didn't have in your index some documents with that field
indexed, before you did the change and put it as not indexed ?

Changes in the schema don't apply to already indexed documents ( if you
don't go with a re-index) .

Can you run your query in debug mode and show us if any strange query
parsing is happening ( not much likely to happen, but let's check)  ?

Cheers

2015-07-22 15:10 GMT+01:00 Mikhail Khludnev <mkhludnev@griddynamics.com>:

> What do you see at Session browser for this field?
>
> On Wed, Jul 22, 2015 at 4:49 PM, santhosh kumar <santhosh818@gmail.com>
> wrote:
>
> > Hi,
> >
> > I have started practicing Solr recently and my understanding on the field
> > type properties "index=false", is that field is not searchable.
> >
> > But when I execute the below query I got the results.
> >
> >
> >
> http://localhost:8494/solr/myfirstcore/select?q=cat%3Asoftware&wt=json&indent=true
> >
> > configured in schema.xml :
> > ---------------------------------------
> >
> > <field name="cat" type="string" indexed="false" stored="true"
> > multiValued="false"/>
> >
> >
> > I have uploaded the below document:
> > ----------------------------------------------------
> >
> > <add>
> > <doc>
> >   <field name="id">SOLR1000</field>
> >   <field name="name">Solr, the Enterprise Search Server</field>
> >   <field name="manu">Apache Foundation</field>
> >   <field name="cat">software</field>
> >   <field name="features">Advanced Full-Text Search Capabilities using
> > Lucene</field>
> >   <field name="features">Optimized for High Volume Web Traffic</field>
> >   <field name="features">Standards Based Open Interfaces - XML and
> > HTTP</field>
> >   <field name="features">Comprehensive HTML Administration
> > Interfaces</field>
> >   <field name="features">Scalability - Efficient Replication to other
> Solr
> > Search Servers</field>
> >   <field name="features">Flexible and Adaptable with XML configuration
> and
> > Schema</field>
> >   <field name="features">Good unicode support: h&#xE9;llo (hello with
an
> > accent over the e)</field>
> >   <field name="price">0.0</field>
> >   <field name="popularity">10</field>
> >   <field name="inStock">true</field>
> >   <field name="incubationdate_dt">2006-01-17T00:00:00.000Z</field>
> > </doc>
> > </add>
> >
> > Regards,
> > santhosh
> >
>
>
>
> --
> Sincerely yours
> Mikhail Khludnev
> Principal Engineer,
> Grid Dynamics
>
> <http://www.griddynamics.com>
> <mkhludnev@griddynamics.com>
>



-- 
--------------------------

Benedetti Alessandro
Visiting card - http://about.me/alessandro_benedetti
Blog - http://alexbenedetti.blogspot.co.uk

"Tyger, tyger burning bright
In the forests of the night,
What immortal hand or eye
Could frame thy fearful symmetry?"

William Blake - Songs of Experience -1794 England

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message