: Actually I am getting result. But I am getting all column of the rows. I
: want to remove unnecessary column.
: In case of q=piza hut.. then I want to get only piza
: hut.
you should denormalize your data more -- if each "id" has more then one
landmark assocaited with it, but for any given sea
&hl=true&hl.fl=landmark1,landmark2,landmark3 etc to your query, then you
> will find a "highlighting" section
> in your response.
>
> hope that helps
>
> -Ursprüngliche Nachricht-
> Von: Jonty Rhods [mailto:jonty.rh...@gmail.com]
> Gesendet: D
Again thanks for reply..
Actually I am getting result. But I am getting all column of the rows. I
want to remove unnecessary column.
In case of q=piza hut.. then I want to get only piza
hut.
Same if search query change to "ford motor" then want only ford
motor.
more example if query is "piza hut f
First of all I hope that in schema you have mentioned for fields
indexed=true and stored=true...
Next if you have done so... and now just search as q=landmark:piza... you
will get one result set only..
Note : There is one constraint about applying analyzers and tokenizers... IF
you apply white spa
Hi
thanks for reply..
Actually requirement is diffrent (sorry if I am unable to clerify in first
mail).
basically follwoing are the fields name in schema as well:
> 1. id
> 2. name
> 3. user_id
> 4. location
> 5. country
> 6. landmark1
> 7. landmark2
> 8. landmark3
> 9. landmark4
> 10. landmark5
you can index each of these field separately...
field1-> Id
field2-> name
field3->user_id
field4->country.
field7-> landmark
While quering you can specify "q=Landmark9" This will return you results..
And if you want only particular fields in output.. use the "fl" parameter in
query...